KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

ListView and Windows Vista...

 
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion
View previous topic :: View next topic  
Author Message
Viggen
KiXforms Regular
KiXforms Regular


Joined: 28 Jun 2005
Posts: 40

PostPosted: Mon Mar 16, 2009 5:36 pm    Post subject: ListView and Windows Vista... Reply with quote

Hi all!

I have a script that works great in Windows XP and in Vista, except for a small listview-problem...

Code:
$ListViewColumn0 = $ListView.Columns.Add($System.ColumnHeader(Readvalue($reg_rubrik,"Reg_Rubr1"),240,$System.HorizontalAlignment_Center))
$ListViewColumn1 = $ListView.Columns.Add($System.ColumnHeader(Readvalue($reg_rubrik,"ID"),2,$System.HorizontalAlignment_Center))


These lines work in XP and the result looks like this:



The same lines on Vista produces this:


Any ideas??

No matter what I try, I can't set the columnwidth Confused
I have tried the "classic view" in Vista, and it doesen't help.
I have also tried to set the width to 50, just to see if something would change, but it is "stuck" to that setting.


/Viggen
Back to top
View user's profile Send private message MSN Messenger
Viggen
KiXforms Regular
KiXforms Regular


Joined: 28 Jun 2005
Posts: 40

PostPosted: Mon Mar 16, 2009 6:23 pm    Post subject: Reply with quote

Solved it...

Funny how stepping away from the computer can help sometimes Smile

It was ofc not the width that was the problem... it was the height.

/Viggen
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion All times are GMT
Page 1 of 1

 
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group