Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Aug 18, 2019 8:14 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Groupbox Caption Picking its own size font?
PostPosted: Tue Aug 02, 2011 9:07 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
I'm not sure what happened but when I execute a program I wrote, the group box on one tab changes it's font size..in the IDE the font has not been changed. I used red boxes to indicate what is going wrong...

Image


Any help to rectify the problem would be great...

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Groupbox Caption Picking its own size font?
PostPosted: Tue Aug 02, 2011 9:19 pm 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
looks like those groupboxes are disabled..

Make sure the code is correct (and check the Window editor properties on "Enabled")
If it was a label that would happen when tranparent = false.

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: Groupbox Caption Picking its own size font?
PostPosted: Wed Aug 03, 2011 7:45 am 
Offline

Joined: Sat Aug 22, 2009 9:44 am
Posts: 315
Groupboxes inside other groupboxes tend to do that so I stopped doing it. Someone just mentioned that they have success by laying out the window with them outside of each other, then moving them into the correct positions in code, but I haven't tried that.


Top
 Profile  
Reply with quote  
 Post subject: Re: Groupbox Caption Picking its own size font?
PostPosted: Wed Aug 03, 2011 11:03 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
wbgookin wrote:
Groupboxes inside other groupboxes tend to do that so I stopped doing it. Someone just mentioned that they have success by laying out the window with them outside of each other, then moving them into the correct positions in code, but I haven't tried that.


ok..it's been bothering me. I mean i could use api calls to "setwindow"/parent..but hopefully realsoftware will fix this..

thank you am taking the out of focused/hwnd approach and maybe a label :-p

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Groupbox Caption Picking its own size font?
PostPosted: Wed Aug 03, 2011 11:50 am 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
Location: Portland, OR USA
Try setting me.Parent=nil in the topmost groupbox Open event.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group