dcl_Control_SetVisible not refresh with button .

Started by stephan_35 · 2009-06-16 10:45 UTC · 6 replies · SMF topic #816


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
Hi stephan_35,

have you also tried (dcl_Control_Redraw Test_Form1_Bildschaltfläche1)?

Fred
author=Fred Tomke link=topic=816.msg4022#msg4022 date=1245167022 wrote:
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
Good evening,

In fact, to be more precise, the syntax does not work:

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


It works perfectly:

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

Very strange!


Best regards
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?
author=owenwengerd link=topic=816.msg4048#msg4048 date=1245208378 wrote:
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.
Attachments
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.