dcl_Control_SetVisible not refresh with button .

Started by stephan_35, June 16, 2009, 03:45:42 AM

Previous topic - Next topic

stephan_35


Hello,

I encountered a display problem with the command: "dcl_Control_SetVisible" with the control buttons.

Indeed it does not update displayed instantly! I must change the window to return to autocad to become current.

I tried the command: "dcl_Control_SetKeepFocus".

I did the same tests with the command: "dcl_Control_SetEnabled" that it works wonderfully.

Maybe do I have omitted a parameter?

I have a tree control in my box.

Best regards
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

Hi stephan_35,

have you also tried (dcl_Control_Redraw Test_Form1_Bildschaltfläche1)?

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Quote from: Fred Tomke on June 16, 2009, 08:43:42 AM
Hi stephan_35,

have you also tried (dcl_Control_Redraw Test_Form1_Bildschaltfläche1)?

Fred

Thanks for reply fred  ;)

Previously using version 4 everything works perfectly!

This passage in version 5, which has shown throughout this series of problems ...

'dcl_Control_Redraw' does not work, and I have reproduced this bug on two different boxes, until I use "enabled", maybe this will be corrected in the next version.

Best regards
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

stephan_35

Good evening,

In fact, to be more precise, the syntax does not work:
Code (autolisp) Select

(dcl_Control_SetVisible (@dcl_ '( @$Dcl:P @$Dcl:D "button")) nil)


It works perfectly:
Code (autolisp) Select

(dcl_Control_SetVisible (@dcl_ '( @$Dcl:P @$Dcl:D "button")) T)

Very strange!


Best regards
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

I did a quick test with a text box on a modeless form, and I could not reproduce the problem. Can you attache a simple project that demonstrates the problem?

stephan_35

Quote from: owenwengerd on June 16, 2009, 08:12:58 PM
I did a quick test with a text box on a modeless form, and I could not reproduce the problem. Can you attache a simple project that demonstrates the problem?

Reproduce only with "Control bar" !

I'll try to prepare an example to show you !

Could you have a see about my suggest (isfloating) thanks.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

This repainting issue is now fixed for Beta 7. I did see your other post, but I haven't had time to look into your suggestion.