forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


saving table contents
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Sep 15, 2003 12:59 pm    Post subject: saving table contents Reply with quote

hi,

i'm having some trouble saving the contents of a table together with its glyphs...i tried LIST SAVE and LIST SAVEFILE but the glyphs are not saved, just the table contents...any ideas?

thanks in advance

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Sep 15, 2003 1:02 pm    Post subject: Reply with quote

In VDS 5, the glyphs are not stored within the table. Sad You would have to create a seperate list with the glyphs you used to keep track of them.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Sep 15, 2003 1:10 pm    Post subject: Reply with quote

ok...thanks for that liquidcode...just noticed on the homepage of vdsworld that you are an administrator...is that a new development? if it is, congrats

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Sep 15, 2003 1:14 pm    Post subject: Reply with quote

Well, I've been an admin for some time now, but, thanks. Wink
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Sep 15, 2003 1:29 pm    Post subject: Reply with quote

Saving gylphs you assigned using VDS is probably not possible as it is hashed out also.
BTW if you are working on table element you may have a look at this to spice it up.
http://codescript.vdsworld.com/VDS5src/table_control_API.zip

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Sep 15, 2003 1:45 pm    Post subject: Reply with quote

great stuff codescript...i will definitely look at using some of these api's

one question...is there an api i can use to unselect items in a table ie. the table is displayed but no items are selected!

thanks in advance

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Sep 15, 2003 6:34 pm    Post subject: Reply with quote

Just send a WM_LBUTTONDOWN message to the Table element before dialog show. I have not implemented much of the click stuff due to a bug in VDS - Rt clicking a selected item is ignored Sad
If you want to still differentiate RT and left click and show a rt click menu U can take a look at:
http://forum.vdsworld.com/viewtopic.php?t=1784
the last post I made in VDS tags.

Also I have another >20 API to show icons, list etc (just like your windows explorer views) bump edge, flat header, MDI child style etc etc. I will put thm together and post sometime.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Sep 16, 2003 8:46 am    Post subject: Reply with quote

sounds good...can't wait for it... Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Sep 16, 2003 4:05 pm    Post subject: Reply with quote

Hi Serge
You can re-download it. I have updated it with the new examples. Now 63 commands Image list and large Icons are two things I left out to see how the VDS update comes up fixing the glyphs. Any changes may break it.
Enjoy

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Sep 16, 2003 5:19 pm    Post subject: Reply with quote

Quote:
Image list and large Icons are two things I left out to see how the VDS update comes up fixing the glyphs. Any changes may break it.


What is the problem with the glyphs now?

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Sep 16, 2003 5:27 pm    Post subject: Reply with quote

If you select a icon from a particular module then all the subsequent ones will be the same as first one. You said it is due to problem with the hashing VDS does. This occurs with bitcombo and Freezingfire some where mentioned same to occur with Table too.
http://forum.vdsworld.com/viewtopic.php?t=1887
I haven't tried personally though with table element as I couldn't set a bitmap to it Sad

Code:
list add,table1,hello@tab()hi@tab()hey! This is very long text|new.bmp

This says unhandled exception (my field sep is default and not TAB

Code:
list add,table1,hello@tab()hi@tab()hey! This is very long text@tab()new.bmp

This doesn't work. I have tried @path(%0) @shortname both.

VDS Help file wrote:
Tab characters must be used to separate the data within a string that is to go into separate columns. In addition, a 16 x 16 pixel bitmap may be specified to appear at the left hand side of each item in the table. The bitmap must be specified using a filename or resource filename, at the end of the string, separated from the data by the current field separator character (as with the BITCOMBO and BITLIST dialog elements.) It follows from this that the current field separator should not be a tab character.

I don't know what I am doing wrong.

(I wanted to associate another image list to the Table for the large icons. Probably I will have to take care of small ones too as the vds image list may get detached ?? So if any changes are going to be made that wont work)

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Sep 17, 2003 8:24 am    Post subject: Reply with quote

Okay, I remember now. I fixed that problem.

Because the VDS TABLE element only implements a subset of the Listview functionality, it hasn't assigned an image list for large icons. So the chances are that if you did that using APIs you won't break anything.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Sep 17, 2003 8:33 am    Post subject: Reply with quote

hi codescript,

i redownloaded it and it shows around 41 items instead of the mentioned 63...am i doing something wrong?

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Sep 17, 2003 12:14 pm    Post subject: Reply with quote

Hi Serge
You are right file was not updated somehow. I fixed it Smile
Now U have 63 functions many are in a DSU more demos and window styles. User can minimize multiple tables within the dialog and work!.
Enjoy.

Jules
I just confirmed that the table/bitcomo/list DOES NOT load a bitmap from the disk as in my above example.Only it loads is from a resource in an dll/exe etc. I hope the fix has taken care of that too.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Sep 17, 2003 1:21 pm    Post subject: Reply with quote

My test script has list add commands similar to yours and it works with or without a # in front of the bitmap name. That's tabletest.dsc in the VDS 5 demos.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group