Paradox Community

Items in pnews.paradox-programming

Subject:Re: TableFrame or ListBox
Date:6 Jul 2022 16:40:59 -0400
From:"Kevin" <shcsbaker@gmail.com>
Newsgroups:pnews.paradox-programming

Agreed, but the code to do the padding was where I'm having trouble.

"Kevin Zawicki" <numberjack@wi.rr.com> wrote:
>
>
>if using list
>you did not need to add the table to the datamodel at all, I avoid this
>
>read the data directly into the list box from a tcursor query result and
>pad on the fly into the list object.
>
>make the list box a courier font
>
>
>
>modridirkac <jure.zorko@gmail.com> wrote:
>>------------HE4tZ1bn4Gx972LoqHIIq3
>>
>>> I need to know if it's possible to either have a tableframe to display
> 
>>> fields only (the user can select a row, but not change anything)
>>
>>On a form:
>>Menu  Format - Data model, right click on table and select Read only.
>>
>>
>>> can create how to use a listbox with a fixed font and padding to  
>>> simulate a multicolumn listbox.
>>
>>Yes, you can pad, but with spaces, not tabs.
>>Just one trick, rename that default name #List6 to "list".
>>And then use
>>	myList.list.list.selection = 1
>>	myList.list.list.value = "a  a"
>>	myList.list.list.selection = 2
>>	myList.list.list.value = "b  b"
>>
>>
>>Jure
>>------------HE4tZ1bn4Gx972LoqHIIq3
>


Copyright © 2004 thedbcommunity.com