Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Dec 07, 2019 8:16 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: VB6 ImageList equivalent in RB
PostPosted: Wed Sep 28, 2011 8:45 am 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
In VB6 you use an ImageList to store images used frequently... so if I have an image of a button I use on 3 forms... you store in image list and access it when you open a form....

is there something similar in RB? or do you just add the image to the project? I read some posts about adding images to the project...

I think the main idea is instead of having 5 copies of the same image compiled into a program... you keep just one copy somewhere and then reference that one and copy it as needed at runtime.

Suggestions appreciated.

-T

_________________
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: VB6 ImageList equivalent in RB
PostPosted: Wed Sep 28, 2011 8:49 am 
Offline
User avatar

Joined: Fri Sep 30, 2005 11:48 am
Posts: 3554
Location: Lenexa, KS
Just add it to the project and reference it when you need it.

_________________
Bob K.

A blog about being a Real Studio/Xojo developer at http://www.bkeeneybriefs.com


Top
 Profile  
Reply with quote  
 Post subject: Re: VB6 ImageList equivalent in RB
PostPosted: Wed Sep 28, 2011 9:01 am 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
If I select Project tab... and select Project menu... Add... there is not an option to add an image.

I do see folders one for each form... each with images in them.

Should I just create a global folder and try to drag the images to that?

Tips appreciated.

_________________
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: VB6 ImageList equivalent in RB
PostPosted: Wed Sep 28, 2011 9:11 am 
Offline
User avatar

Joined: Fri Sep 30, 2005 11:48 am
Posts: 3554
Location: Lenexa, KS
torrid wrote:
Should I just create a global folder and try to drag the images to that?


That's what I do. The other approach is to use the File->Import command.

_________________
Bob K.

A blog about being a Real Studio/Xojo developer at http://www.bkeeneybriefs.com


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