Restored from previous forum. Originally posted by Saint.
Hi,
How can I delete a Text or String Gadget from my Window? Is there any command?
CU
Delete String/Text Gadget
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
then you can hide any gadget with the ShowWindow_() API. To do it, you must
create your gadget with a leading handle like this:
r=StringGadget(...
Then, to hide it, use this code:
ShowWindow_(r,#SW_HIDE)
Note that you can use #SW_SHOW to re-show it again later, if you wish.
PB - Registered PureBasic Coder
There's no built-in command, but if you're using the Windows version of PureBasicHow can I delete a Text or String Gadget from my Window? Is there any command?
then you can hide any gadget with the ShowWindow_() API. To do it, you must
create your gadget with a leading handle like this:
r=StringGadget(...
Then, to hide it, use this code:
ShowWindow_(r,#SW_HIDE)
Note that you can use #SW_SHOW to re-show it again later, if you wish.
PB - Registered PureBasic Coder
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
I used to request stuff to Microsoft for Visual Basic, but they NEVER listened.
They even have a "wish" E-Mail address but nothing ever comes of using it, no
matter how many people try (and believe me, a lot of us have).
So it's fantastic to have such dedication to a product like you do.
PB - Registered PureBasic Coder
Damn you're great!Why not..
I used to request stuff to Microsoft for Visual Basic, but they NEVER listened.
They even have a "wish" E-Mail address but nothing ever comes of using it, no
matter how many people try (and believe me, a lot of us have).
So it's fantastic to have such dedication to a product like you do.
PB - Registered PureBasic Coder