Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Optionally Show/Hide a Browse List Column(s) 1

Status
Not open for further replies.

TinLegs

Programmer
Jan 14, 2003
100
NZ
Am I able to allow a user to select to Hide or Unhide a column in a Browse List while the Browse is open? ie. Switch Hide On/Off using radio controls or check box.

Or better still hide one data field and display another in its place?

Thanks, Clarion 6.3 - ABC - Browse Loading method: Page
 
Hi,

Have you considered using the Browse List Format Manager available in C6.3? Enable it in the Global Properties of the application. It will allow you to choose different list box layouts at run-time. At design stage, you need to make sure that all the columns are set up on the list box. Read more on the help.

To answer your question, the way to change the display is by changing the list box column properties at runtime or by changing the Format String of the List control.

?List{PROP:Format} = '...'

?List{PROPLIST:Width, 3} = 0 ! Set Width of 3rd column to 0 i.e. hide column

Read the help for all the PROPLIST: properties available.

Regards

 
Thank you ShankarJ

The Browse List Manager works great and was easy to implement.

Kind Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top