Page 1 of 1 1
Topic Options
#91432 - 2003-02-11 06:46 AM Image in list view?
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
I am trying to show a listview on a form but I need to place images in the grid like status lights. Can this be done..? Can I use external vb controls to accomplish something like this?

I checked the kixforms.org but couldnt find anything on the doc page...

Thanks for the help.
_________________________
Austin Henderson

Top
#91433 - 2003-02-11 08:34 AM Re: Image in list view?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Austin ,

yeah this is possible !

I think this sample of Shawn shows it perfectly

hth
J.
_________________________



Top
#91434 - 2003-02-12 12:14 AM Re: Image in list view?
Ghost Offline
Starting to like KiXtart

Registered: 2000-09-14
Posts: 171
sample of Shawn ????

Does' it come in a jar?

[Smile]
_________________________
Who are you? Who slips into my robot body and whispers to my ghost?

Top
#91435 - 2003-02-11 02:58 PM Re: Image in list view?
Crazy Eddie Offline
Starting to like KiXtart

Registered: 2002-11-20
Posts: 105
Loc: Sacramento, CA USA
Ok - I'm feeling crazy again...!

I try to run Shawn's script, but it bombs on me.

This is the offending line:
code:
 $SmallIcon.Location = 10,10 

My environment: Windows XP, Kix 4.12, and KixForms 2.2.0 Build 37 (file version: 2.2.0.37).

Any ideas???
_________________________
{Insert your favorite Witty Tag Line here}

Top
#91436 - 2003-02-11 07:42 PM Re: Image in list view?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ouch ...

Eddie : It may be either XP [Wink] or 4.12 (try 4.20 RC 3 ) OR simply try to re-register the latest(Make sure that it is really the latest!)kixforms.dll (BTDTGTTS!)

Ghost ... [Big Grin]

J.

(Austin ???)
_________________________



Top
#91437 - 2003-02-11 08:10 PM Re: Image in list view?
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
Ahh yes.. sorry about the delay guys.

I am running XP Pro and the same version of kixforms.dll but I am on release 4.11.0.0 of kix32.exe. I will see what happens with 4.12 give me a few.

Thanks
_________________________
Austin Henderson

Top
#91438 - 2003-02-11 08:16 PM Re: Image in list view?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Austin,

I almost positive that your running a pre-ToolButton build of Kixforms. To verify the version dump the contents of the $Form.Version or $Form.Build properties. Or if you get a form running - click the top-left controlbox menu in the form titlebar and click "About...".

What sometimes happens (with all COMies) is that you might have two versions of the DLL kicking around - one in a custom folder an another in system32 ... REGSVR32 will always look first in system32 for a dll with that name - why it does this I have no idea - but just a thought.

-Shawn

[ 11. February 2003, 20:17: Message edited by: Shawn ]

Top
#91439 - 2003-02-11 08:22 PM Re: Image in list view?
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
No dice....

WOrks just fine for me with 4.12 as well on XP Pro. Did you open the script before you ran it? Maybe you inadvertantly added a character or something... I know it is a long shot...

I think you try to reregister the dll.

Keep us posted..

Hey does anyone know if there is a way to display a grid in the listview? The documentation is sparse on it so I just figured I would ask. Myabe external controls.. can they be used?

Thanks.. Still had no luck with the date-time choice box.
_________________________
Austin Henderson

Top
#91440 - 2003-02-11 08:53 PM Re: Image in list view?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
To get the GridLines in a ListView - set the GridLines property to true. fe:

$ListView.GridLines = "True"

or:

$ListView.GridLines = 1

Top
#91441 - 2003-02-11 08:57 PM Re: Image in list view?
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
SWEET....

I love this stuff... any way to find out when the shell will be working like discussed earlier?
_________________________
Austin Henderson

Top
#91442 - 2003-02-11 09:02 PM Re: Image in list view?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Right now I'm concentrating on finishing the CHM file for Kixforms ... its a very large and complex object model - plus there are a couple of new features in the works - namely resizable dialogs and the TabControl.

I have (what I will call) a prototype SHELL command in the Form object right now - it behaves just like the Kixtart shell (wait for completion) yet it keeps the Form refreshed - this will be availble in the next release (but just as an experiment more than anything).

I want to rationalize this whole process spawning a bit more - in terms of where it should fit into the object model. So the shell wont go away, just maybe be moved or renamed.

-Shawn

Top
#91443 - 2003-02-11 09:05 PM Re: Image in list view?
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
Shawn that is good stuff.. I will eagerly await that release>? We talking days.. months.. years?

; )
_________________________
Austin Henderson

Top
#91444 - 2003-02-11 09:18 PM Re: Image in list view?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Its kinda hard to put a schedule on it because its a spare-time project (thats the official word anyways). Plus I really dont want to issue another release until the CHM file is done. The big outstanding item right now is the chm file. I'm reluctant to guess at a release date.
Top
#91445 - 2003-02-11 09:42 PM Re: Image in list view?
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
Understand... will just wait until you are ready to rock with it.

Thanks..

CHM will be AWESOME
_________________________
Austin Henderson

Top
#91446 - 2003-02-19 03:11 PM Re: Image in list view?
Crazy Eddie Offline
Starting to like KiXtart

Registered: 2002-11-20
Posts: 105
Loc: Sacramento, CA USA
Just closing a loop here...

My problem was a second version of KixForms...From BB Checker. Forgot about that one!

Updated BB Checker, and all is well again.

I eagerly await both the CHM and the Shell additions!!!

Shawn, you rock!

-Eddie
_________________________
{Insert your favorite Witty Tag Line here}

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.063 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org