| View previous topic :: View next topic |
| Author |
Message |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Wed Mar 31, 2010 3:35 pm Post subject: ExtTable dsu Resource Help |
|
|
Hi,
I Have a trpuble with resource in my new script, script use exttable dsu, bu not show the right bitmap, instead show other bitmap included in the script
This is the part of my script used to assign bitmap to image list:
| Code: |
IMAGELIST CREATE,ItemImages,16,16,color16,0,1
IMAGELIST ASSIGN,ItemImages,Table1,1
IMAGELIST SETBKCOLOR,ItemImages,$FFFFFFFF
IMAGELIST ADDMASKED,ItemImages,@Path(%0)\flag_gr.bmp,$FFFFFF,16,16
IMAGELIST ADDMASKED,ItemImages,@Path(%0)\flag_rd.bmp,$FFFFFF,16,16
|
and here the code to assign image to table item:
[code]
tItem Image,Table1,@Index(Table1),0,1
[\code]
Why? What i wrong?
Many tnx in advance |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Apr 04, 2010 3:36 pm Post subject: |
|
|
Looking at the code you provided the image at @Index(Table1) should be @path(%0)\flag_rd.bmp.
You need to remove the "\" when using @path() function because it will cause a double "\\"
| Code: | %P = "C:\My Projects\flag_rd.bmp"
info @path(%P)\flag_rd.bmp |
The result would be "C:\My Projects\\flag_rd.bmp" [INCORRECT]
| Code: | %P = "C:\My Projects\flag_rd.bmp"
info @path(%P)flag_rd.bmp |
The result would be "C:\My Projects\flag_rd.bmp" [CORRECT] |
|
| Back to top |
|
 |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Sun Apr 11, 2010 2:43 pm Post subject: |
|
|
Hi Aslan
thanks for your notice, yes I wronged , bur changed continue to not work
Bue |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Wed Apr 14, 2010 3:02 pm Post subject: |
|
|
Can you provide a working script so that I can try to replicate the issue on my machine?
Also what OS are you using? |
|
| Back to top |
|
 |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Mon Apr 19, 2010 5:51 pm Post subject: |
|
|
Hi Aslan
I will send you my complete project, my O.S. is Win7 Ultimate.
Please wait little bit for the project
Thank you and Byez |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Tue Apr 20, 2010 11:25 pm Post subject: |
|
|
Ok... I'll be patiently waiting for it.........................
...........................................................................
...........................................................................
...........................................................................
...........................................................................
Is it done yet  |
|
| Back to top |
|
 |
|
|
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 You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|