Hi joebones
thanks for your info, but that is not what I want. ;)
No ... but it was exactly what I wanted to finally be able to center text on this grid:
http://i48.tinypic.com/k2h3yu.jpg
I was just thanking Kiffi for posting and updating the code slightly for newbies like me.
However ...
Search found 7 matches
- Wed Jun 30, 2010 9:40 pm
- Forum: Coding Questions
- Topic: Text vertically centered on a TextGadget?
- Replies: 13
- Views: 3610
- Wed Jun 30, 2010 4:09 pm
- Forum: Coding Questions
- Topic: Text vertically centered on a TextGadget?
- Replies: 13
- Views: 3610
Re: Text vertically centered on a TextGadget?
You can use the flag #SS_CENTERIMAGE to center your textgadget vertically:
Textgadgets now center both horizontally and vertically in this update (PB 4.40) of the example. Thanks, Kiffi! :)
OpenWindow(0, #PB_Ignore, #PB_Ignore, 300, 40, "")
UseGadgetList(WindowID(0))
TextGadget(0, 5, 5, 290 ...
- Mon Jun 28, 2010 5:35 am
- Forum: Feature Requests and Wishlists
- Topic: An Easier Way to Right-Justify MenuTitles
- Replies: 0
- Views: 830
An Easier Way to Right-Justify MenuTitles
An easy way to right-justify MenuTitles would be useful. The right side is the common placement for a "Help" option.
http://i46.tinypic.com/35mis79.jpg
I imagine it being implemented by a simple flag, like this:
http://i46.tinypic.com/erigk7.jpg
Also, Gnozal was even kind enough to ...
- Thu Jun 24, 2010 4:37 pm
- Forum: Coding Questions
- Topic: How to Use the Right Side of the Menu Bar
- Replies: 2
- Views: 1097
Re: How to Use the Right Side of the Menu Bar
Gnozal --
Thank you for your fast and kind response. Yes, this does exactly as I hoped.
I appreciate your time and skill !
Thank you for your fast and kind response. Yes, this does exactly as I hoped.
I appreciate your time and skill !
- Thu Jun 24, 2010 8:37 am
- Forum: Coding Questions
- Topic: How to Use the Right Side of the Menu Bar
- Replies: 2
- Views: 1097
How to Use the Right Side of the Menu Bar
Hi --
Is there a way to make a menu title on the right side of the menu bar (like "Help" in the image below)?

-----
Platform: WinXP(SP2)
Proc: Intel, 3Ghz
PB Ver: 4.40
Is there a way to make a menu title on the right side of the menu bar (like "Help" in the image below)?

-----
Platform: WinXP(SP2)
Proc: Intel, 3Ghz
PB Ver: 4.40
- Thu Jun 17, 2010 3:26 pm
- Forum: Coding Questions
- Topic: #WM_LBUTTONDOWN and ImageGadget()
- Replies: 14
- Views: 5681
Re:
> About the LBUTTONDOWN. I think i may have made a mistake there that prevents it from reaching the main loop. I will see if i can fix that.
I am a new PB user. I add to this thread because it solved a problem for me and might help other new users. But fixing this sounds like a great idea.
You ...
I am a new PB user. I add to this thread because it solved a problem for me and might help other new users. But fixing this sounds like a great idea.
You ...
- Wed Jun 09, 2010 3:01 am
- Forum: Coding Questions
- Topic: How to use LoadImage, ResizeImage and ImageGadget...
- Replies: 3
- Views: 5786
Re: How to use LoadImage, ResizeImage and ImageGadget...
Thank you for taking the time to post this. I am new here and it really helped. It not only showed me how to load and display an image in a window, but also handled resizing. (I had figured resizing would be very difficult.)
All done in a tiny, simple, and up-to-date block of code that works . :)
All done in a tiny, simple, and up-to-date block of code that works . :)