Are there any known problems using HideGadget(#Gadget, 1) with gadgets on a panel gadget?
I'm calling HideGadget() from inside a procedure and the gadgets seem to become disabled in that you can't click on them but you can still see them. It's really odd since I hide the gadget when the window opens, then show the gadget when a button is clicked and when I try to hide the gadget again when another button is clicked it behaves in the way described. If I switch to another tab and back then the gadget(s) are hidden...
Strrrrrrrange. Hopefully it's just something I'm doing wrong...
HideGadget() troubles
HideGadget() troubles
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
RedrawWindow_(WindowID(#Window_main), 0, 0, 7)
Seemed to do the trick... Is this a bug or just one of those Windows "features"?
Thanks!!!!
Seemed to do the trick... Is this a bug or just one of those Windows "features"?
Thanks!!!!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Ahh - good to know.. I have 3.72 so I guess the problem is still around..
Thanks for the help guys!
Thanks for the help guys!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
It does seem like a bug with the panel gadget - I don't see this happening when it's not on a panel. I'll try to post some code in bug reports to reproduce the problem..
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
- Le Soldat Inconnu
- Enthusiast

- Posts: 306
- Joined: Wed Jul 09, 2003 11:33 am
- Location: France
i have the same bug, but setgadgetstate is not a valid solution
because with imagegadget, when you resize this gadget, he don't refresh, and i don't find solution.
i test all this solutions :
resizewindow
rezizegadget(#panel, ....)
windowupdate_(windowid())
RedrawWindow_(GadgetID(#gadget),0,0,7)
but this way don't work
the way which works is
setgadgetstate(#panel, 1)
setgadgetstate(#panel, 0)
but it's not a good solution because it's cause a flashing of the window
excuse me for mistakes
bye
because with imagegadget, when you resize this gadget, he don't refresh, and i don't find solution.
i test all this solutions :
resizewindow
rezizegadget(#panel, ....)
windowupdate_(windowid())
RedrawWindow_(GadgetID(#gadget),0,0,7)
but this way don't work
the way which works is
setgadgetstate(#panel, 1)
setgadgetstate(#panel, 0)
but it's not a good solution because it's cause a flashing of the window
excuse me for mistakes
bye
LSI
- Le Soldat Inconnu
- Enthusiast

- Posts: 306
- Joined: Wed Jul 09, 2003 11:33 am
- Location: France

