this is intetrsting... But how can i creste a subfield in suqcess in order to vuew this effect?BSJR wrote:This is just a proof of concept. I have not tested what happens when a list needs to scroll up or down.I'm trying to do something different, you print the string after clicking, I need to present a list in which each element is divided into several lines, to scroll through this list and eventually select an element
Giorgio
If it's a single column list you want, you could adopt what I do in SuQcess with Viewing a record with subfields.
The list can be scrolled (set the main window to a minimum) and each line is a field or a subfield and can be clicked on.
In a separate array I keep track of which field that line belongs to so the correct field is taken to act upon.
Bob
Mawdraw problem (easyptr4)
- Giorgio Garabello
- Gold Card
- Posts: 277
- Joined: Tue Jun 30, 2015 8:39 am
- Location: Turin, Italy
- Contact:
Re: Mawdraw problem (easyptr4)
Quantum Technology
http://www.hunggartorino.it/ql/language/en/
http://www.hunggartorino.it/ql/language/en/
Re: Mawdraw problem (easyptr4)
In a DBAS database a string field can be divided into subfields by the LF/CHR$(10) character.Giorgio Garabello wrote:this is intetersting... But how can i create a subfield in suqcess in order to view this effect?BSJR wrote:This is just a proof of concept. I have not tested what happens when a list needs to scroll up or down.I'm trying to do something different, you print the string after clicking, I need to present a list in which each element is divided into several lines, to scroll through this list and eventually select an element
Giorgio
If it's a single column list you want, you could adopt what I do in SuQcess with Viewing a record with subfields.
The list can be scrolled (set the main window to a minimum) and each line is a field or a subfield and can be clicked on.
In a separate array I keep track of which field that line belongs to so the correct field is taken to act upon.
Bob
While the normal text edit window in SuQcess does not directly support that, you can create this by inserting a CHR$(13) into the text.
Hit Shift+ENTER and the CR character will be visible as a stippled block that will be replaced by a LF in the database.
When you next edit this field it will probably be presented as a list in the edit window, hit space to select the subfield for editing.
In the F3-Command menu you can switch between String and Array editing. Check the Edit chapter from F1-Help.
Bob
- Giorgio Garabello
- Gold Card
- Posts: 277
- Joined: Tue Jun 30, 2015 8:39 am
- Location: Turin, Italy
- Contact:
Re: Mawdraw problem (easyptr4)
OK! many thanks!BSJR wrote:In a DBAS database a string field can be divided into subfields by the LF/CHR$(10) character.Giorgio Garabello wrote:this is intetersting... But how can i create a subfield in suqcess in order to view this effect?BSJR wrote: This is just a proof of concept. I have not tested what happens when a list needs to scroll up or down.
If it's a single column list you want, you could adopt what I do in SuQcess with Viewing a record with subfields.
The list can be scrolled (set the main window to a minimum) and each line is a field or a subfield and can be clicked on.
In a separate array I keep track of which field that line belongs to so the correct field is taken to act upon.
Bob
While the normal text edit window in SuQcess does not directly support that, you can create this by inserting a CHR$(13) into the text.
Hit Shift+ENTER and the CR character will be visible as a stippled block that will be replaced by a LF in the database.
When you next edit this field it will probably be presented as a list in the edit window, hit space to select the subfield for editing.
In the F3-Command menu you can switch between String and Array editing. Check the Edit chapter from F1-Help.
Bob
Quantum Technology
http://www.hunggartorino.it/ql/language/en/
http://www.hunggartorino.it/ql/language/en/