can't clear text label's caption

Started by Amsterdamned, August 06, 2009, 01:20:06 AM

Previous topic - Next topic

Amsterdamned

funny enough i seem not to be able to clear the caption of a text label in my last project. I managed to do so in earlier projects. It overrides the text with the new one even if i set the caption to an empty string before i set it to the new string. What do i miss here??


Bernd
Bernd
Dell Precision M6400
XP SP3 Acad2006/2007

Kerry

how about :=

(dcl_Control_SetCaption Untitled_Form1_Label1 " ")
Perfection is not optional.
My other home is TheSwamp

Amsterdamned

nope,

doesn work, i get 't as result but nothing happens. >:(
Bernd
Dell Precision M6400
XP SP3 Acad2006/2007

Amsterdamned

you won't believe that! I compared with other projects and saw that the background colour was different. on -16 it works, on -24 it doesn't ???
Bernd
Dell Precision M6400
XP SP3 Acad2006/2007

owenwengerd

I can't reproduce this in Vista/AutoCAD 2007.  Can you upload a very simple project that demonstrates the problem, along with your system info?
Owen Wengerd (Outside The Box) / ManuSoft

Amsterdamned

#5
It is the textlabel2 that acted that funny. I updated my profile with my systeminfo.

Bernd
Dell Precision M6400
XP SP3 Acad2006/2007

Kerry


Bernd,
QuoteCan you upload a very simple project that demonstrates the problem  ...
A lisp code to control it and demonstrate the problem would save Owen having to write one and also eliminate guessing ...

regards
Kerry
Perfection is not optional.
My other home is TheSwamp

owenwengerd

Thanks Kerry.  I tested by manually changing captions in AutoCAD 2006 on XP using the mi.odcl that you attached, but I was not able to reproduce the problem.
Owen Wengerd (Outside The Box) / ManuSoft