Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Aug 16, 2017 4:45 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Label with BackColor
PostPosted: Fri Feb 17, 2012 10:04 am 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
In VB6 labels have BackCOlor... and also can have a border that looks 3D.

So in RB what is the equivalent? Use a TextField? but if I disable it then it gives it a gray disabled look....

_________________
Currently using:
Windows XP Pro SP3
Real Studio 2011 Release 4.3 Enterprise
and
Mac OS 10.7.4
Real Studio 2011 Release 4.3 Enterprise
(finally also compiled on Mac)


Top
 Profile  
Reply with quote  
 Post subject: Re: Label with BackColor
PostPosted: Fri Feb 17, 2012 10:12 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
You could set it to read-only

but you'd also want to add some code to keep the focus away (in GETFOCUS... move to another control)

Personally.... I'd make my own out of a Canvas.... would look much nicer.

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
 Post subject: Re: Label with BackColor
PostPosted: Fri Feb 17, 2012 10:32 am 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
Thanks DaveS

If I make my own out of a canvas... how do I make it look like it has a 3D like border?


Top
 Profile  
Reply with quote  
 Post subject: Re: Label with BackColor
PostPosted: Fri Feb 17, 2012 10:37 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
Thats the beauty of a canvas..... draw anything you want.... make it look like you want it to look

elsewhere on this forum I just provided a free routine that makes toggle buttons that look identical to the iPhone for use with RealStudio. The whole thing was done with a canvas.

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group