Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

ImageList problem

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2009, 10:33 AM
AVS AVS is offline
Newbie
 
Join Date: Feb 2009
Posts: 6
Default ImageList problem

Hi Guyz.

I'm just trying out Basic4PPC for a few day's now.
Looks promising so far

but....
I've encountered a problem wich i dont understand/can fix

I looked up some examples here and if i want to embed images in the exe i need to add them to the ImageList through the design-editor.
This i cant do......
Look at screenshot below....the place where i can type in the imagenames is greyed out....read-only so to say.
How can i get my filenames there ?


Thanks in advance.
AVS
Reply With Quote
  #2 (permalink)  
Old 02-26-2009, 10:46 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Probably because you are using a trial version that doesn't support compilation so you cannot produce an exe. It works fine in the registered version - go on buy it, you know it makes sense!

EDIT :- For trial purposes you can add them in your code using ImageList.Add
Reply With Quote
  #3 (permalink)  
Old 02-26-2009, 10:50 AM
AVS AVS is offline
Newbie
 
Join Date: Feb 2009
Posts: 6
Default

Yup...ik know it doesn't compile...so thats the reason i cant embed the images ?
Before i buy i want to know if its really useable....this forum surely helps alot in seeing different options/possibilities
Reply With Quote
  #4 (permalink)  
Old 02-26-2009, 05:08 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Are you using v6.50?
Reply With Quote
  #5 (permalink)  
Old 02-26-2009, 05:39 PM
AVS AVS is offline
Newbie
 
Join Date: Feb 2009
Posts: 6
Default

Quote:
Originally Posted by Erel View Post
Are you using v6.50?
Yes, i downloaded it from the basic4ppc.com site as a trial.
Reply With Quote
  #6 (permalink)  
Old 02-26-2009, 05:53 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Are you sure that you've added an ImageList and not some other control?
Changing a control's name will not change its type.
Reply With Quote
  #7 (permalink)  
Old 02-26-2009, 07:15 PM
AVS AVS is offline
Newbie
 
Join Date: Feb 2009
Posts: 6
Default

Yes i'm Sure Erel
At start the name was ImageList1 and i just removed the 1 at the end....nothing more.

But are you saying that the 'data' field shouldn't be read-only even if i had a non-compiling version ?

I'm just building a little App just to see what basic4ppc can do for me.
I'm normally a VS C++ programmer (not proffesionally). But for 'simple' solutions a was looking for a way to get things 'done' in a quicker way
basic4ppc does thing sure in a quicker way. But its a bit figuring out at the same time.

I just encountered another problem.....
I've noticed that Labels are not transparant and a dialog with nice background and on top of it some labels really doesn't look nice.
I've looked at the DrawString option, but my problem is that i cant figure out how to get a text from the drawstring on top of a control. It only draws text on the dialog itself....
Is there a way to get text transparant over an Image control ?
Reply With Quote
  #8 (permalink)  
Old 02-27-2009, 12:42 AM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by AVS View Post
Yes i'm Sure Erel
At start the name was ImageList1 and i just removed the 1 at the end....nothing more.

But are you saying that the 'data' field shouldn't be read-only even if i had a non-compiling version ?

I'm just building a little App just to see what basic4ppc can do for me.
I'm normally a VS C++ programmer (not proffesionally). But for 'simple' solutions a was looking for a way to get things 'done' in a quicker way
basic4ppc does thing sure in a quicker way. But its a bit figuring out at the same time.

I just encountered another problem.....
I've noticed that Labels are not transparant and a dialog with nice background and on top of it some labels really doesn't look nice.
I've looked at the DrawString option, but my problem is that i cant figure out how to get a text from the drawstring on top of a control. It only draws text on the dialog itself....
Is there a way to get text transparant over an Image control ?
I don't think there is a way with the standard B4PPC libraries, but there is a library developed by one of the members that has labels that have a transparent property. (you have to have purchased B4PPC to download)

From the fgControls help file:
Quote:
Gets or sets whether an Label is transparent .

Syntax: Transparent

Example:
fgLab.Transparent = true
I started with B4PPC last year (I've done VB.NET programming as a hobby) and have been happy with it. B4PPC out of the box is simple but powerful, and if there's anything missing then someone has written a library to implement it.
Reply With Quote
  #9 (permalink)  
Old 02-27-2009, 04:31 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It is possible to draw over images.
I've attached a small program that stores an image in an ImageList.
This image is displayed in an Image control and a string is written on it.

The ImageList part is not really necessary.
Attached Files
File Type: zip image.zip (2.6 KB, 21 views)
Reply With Quote
  #10 (permalink)  
Old 02-27-2009, 06:50 AM
AVS AVS is offline
Newbie
 
Join Date: Feb 2009
Posts: 6
Default

Aha....
I had looked at that B4PObject(5) stuff in the helpfiles...but couldn't get a hold on it
Now i understand.

Quote:
I started with B4PPC last year (I've done VB.NET programming as a hobby) and have been happy with it. B4PPC out of the box is simple but powerful, and if there's anything missing then someone has written a library to implement it.
I'm very enthousiastic about b4ppc
Is it written in Vb.net ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ImageList items as Reference? DaveW Questions (Windows Mobile) 3 11-07-2008 07:35 AM
Problem with AddEvent and ImageList Haschi0 Questions (Windows Mobile) 7 03-01-2008 11:06 AM
How to save images after they have been placed in an imagelist XerVision Questions (Windows Mobile) 2 07-13-2007 08:59 PM
Can we compare imagelist items? Cableguy Questions (Windows Mobile) 1 06-02-2007 05:03 PM
I need examples for imagelist imagebutton sloopa Questions (Windows Mobile) 2 05-19-2007 04:00 PM


All times are GMT. The time now is 03:58 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0