Search found 12 matches
- Sat Oct 21, 2006 8:47 pm
- Forum: Coding Questions
- Topic: Why doesn't SetGadgetState work properly with ImageGadget?
- Replies: 11
- Views: 2468
Okay, I re-installed PB4 completely and now it does in fact seem to work fine. I'm not sure why this was happening, but I think the compiler was still referencing some of my older 3.9x files in the old directory, as evidenced by the fact that the initially posted code produced an old-time error on ...
- Sat Oct 21, 2006 6:36 pm
- Forum: Coding Questions
- Topic: Why doesn't SetGadgetState work properly with ImageGadget?
- Replies: 11
- Views: 2468
- Sat Oct 21, 2006 6:16 pm
- Forum: Coding Questions
- Topic: Why doesn't SetGadgetState work properly with ImageGadget?
- Replies: 11
- Views: 2468
- Sat Oct 21, 2006 6:01 pm
- Forum: Coding Questions
- Topic: Why doesn't SetGadgetState work properly with ImageGadget?
- Replies: 11
- Views: 2468
- Sat Oct 21, 2006 5:48 pm
- Forum: Coding Questions
- Topic: Why doesn't SetGadgetState work properly with ImageGadget?
- Replies: 11
- Views: 2468
- Sat Oct 21, 2006 6:28 am
- Forum: Coding Questions
- Topic: Why doesn't SetGadgetState work properly with ImageGadget?
- Replies: 11
- Views: 2468
Why doesn't SetGadgetState work properly with ImageGadget?
In the manual it states:
- SetGadgetState(): Change the current Image of the gadget. A valid ImageID can be easily obtained with the UseImage() or ImageID() commands. If the ImageID is 0, then the image is removed from the gadget.
But if I have an image currently displayed in a ImageGadget ...
- SetGadgetState(): Change the current Image of the gadget. A valid ImageID can be easily obtained with the UseImage() or ImageID() commands. If the ImageID is 0, then the image is removed from the gadget.
But if I have an image currently displayed in a ImageGadget ...
- Fri Mar 17, 2006 10:43 pm
- Forum: Tricks 'n' Tips
- Topic: Detecting right-clicks on ButtonGadgets
- Replies: 20
- Views: 15155
Why was the AvbancedGadgetEvents feature removed? Now you have to use a Windows-specific API call to detect a right click, which will not work under Linux.
Before you could just enable Advanced and use #PB_EventType_RightClick which would work for both Windows and Linux. Seems like a step backwards ...
Before you could just enable Advanced and use #PB_EventType_RightClick which would work for both Windows and Linux. Seems like a step backwards ...
- Thu Mar 16, 2006 6:17 am
- Forum: Coding Questions
- Topic: PureBasic: Sequential or Object-Oriented?
- Replies: 10
- Views: 2153
I really appreciate all the replies, they have been quite helpful. I actually find it an intriguing idea to have a full GUI application that's in fact programmed in a top-down sequentially executed style. I used QBasic for years before taking up VB, so I'm familiar with and enjoy the line-by-line ...
- Wed Mar 15, 2006 11:57 pm
- Forum: Coding Questions
- Topic: PureBasic: Sequential or Object-Oriented?
- Replies: 10
- Views: 2153
- Wed Mar 15, 2006 10:41 pm
- Forum: Coding Questions
- Topic: PureBasic: Sequential or Object-Oriented?
- Replies: 10
- Views: 2153
PureBasic: Sequential or Object-Oriented?
I'm completely new to PureBasic, and I'm just trying to figure out exactly how it works. It seems to me from my brief beginner's foray into it, that unlike Visual Basic where the visual interface drives the program and bits of code are only executed when some sort of object-oriented event occurs ...
- Wed Mar 15, 2006 10:14 pm
- Forum: Coding Questions
- Topic: #PB_Window_Maximize (dont want hide taskbar) !?
- Replies: 16
- Views: 2626
- Wed Mar 15, 2006 8:40 pm
- Forum: Coding Questions
- Topic: #PB_Window_Maximize (dont want hide taskbar) !?
- Replies: 16
- Views: 2626
When I try to run that code posted above:
I get the error "Constant not found: #PB_Window_Maximize"
PB doesn't even recognize that that flag exists. What am I doing wrong?
Code: Select all
OpenWindow(0, 0, 0, 400, 300, #PB_Window_MaximizeGadget | #PB_Window_Maximize, "")
PB doesn't even recognize that that flag exists. What am I doing wrong?