What happens if you toggle the value of .Visible?

>Hello,
>
>when disabling and then enabling a command button the screen does not 
>refresh to show the enabled caption of the button on my PPC. Can 
>someone confirm this with other devices ? Any way to refresh the 
>button ? 
>
>To try this please create a new NSB standard project, put a new long 
>command button with a long caption, i.e. "this is a button with a 
>long caption" in the middle of the form, then use the following code :
>
>Sub CommandButton1_Click
>   CommandButton1.Enabled = false
>   MsbBox "A"
>   CommandButton1.Enabled = true
>   MsbBox "B"
>End Sub
>
>When running the program and clicking the button after the second 
>message I see only a part of the caption. How to fix this ? 
>UpdateScreen does not work.
>
>Thanks...
>
>
>
>
>
>------------------------------------
>
>Yahoo! Groups Links
>
>
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to