Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / ColumnsCount on QListView

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. ColumnsCount on QListView
#4290
Posted by: OvalX 2004-05-30 16:27:17
Hi, I am making a simple database, but I have problem with reading count of columns on QListView. When I click on ListView, the number of its columns is still zero. I do not why (mayby bug?)... Please, help me... Thank you.
Here is a very little example:

 DIM frmMain AS QFORM
 DIM lviMain AS QLISTVIEW
 SUB lviMain_OnClick
  SHOWMESSAGE "Count of Columns: " + STR$(lviMain.ColumnsCount)
 END SUB
 WITH lviMain
  .PARENT = frmMain
  .Align = 5
  .AddColumns "A", "B", "C"
  .ViewStyle = 3 'vsReport
  .RowSelect = 1
  .GridLines = 1
  .AddItems "One", "Two", "Three"
  .OnClick = lviMain_OnClick
 END WITH
 WITH frmMain
  .Center
  .SHOWMODAL
 END WITH
Message2. Re: ColumnsCount on QListView
#4292
Posted by: erdemaal 2004-05-30 23:17:49
This is a welknown bug  :)
There are few turn around ... I never tested them.
There even is a QListViewEx component
Search this site with QListView

Jacques
Message3. Re: ColumnsCount on QListView
#4298
Posted by: OvalX 2004-05-31 16:39:21
Hi Jacques,
thank you for good tip. I will try it. Have a nice day. Slavo
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥289.00 ·
 
 
¥1,068.00 ·
 
 
¥890.00 ·
 
 
¥880.00 ·
 
 
¥296.00 ·
 
 
¥294.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0