Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 6 Monaten, 4 Wochen
Letzter Beitrag:
vor 6 Monaten, 4 Wochen
Beteiligte Autoren:
DerekM-2

WD22 - Display the details of a row in an internal window

Startbeitrag von DerekM-2 am 24.11.2017 02:15

Hi All -

Display the details of a row in an internal window
A table row displays various information in its different columns. However, to get a more readable interface, why not display this information in a popup window?


I have this sorta working - but as it seems to only handle RowNum as a parameter - I have to use Memory Table rather than Browsing table.

OK - sort of working quite nicely with that - but if the memory table display sort is used - the row numbers are scrambled - so it is useless.

Anyone been here and figured out how to use this feature properly? Something nice and easy like renumbering the rownum after a sort :)

Don't know why they didn't allow for a variable to be passed to the IW.

Regards,

DerekM

Antworten:

OK - thanks to Mark Crickton ..

Use a Project level global and 2 lines of code.

Guess I shouldn't complain too much about the 2 lines of code - especially as I have just written thousands of lines of Java code to gt the SOAP bit working :(

Regards
DerekM


Just a note to add here. Love this feature of WD22.

Be aware that the "Selecting a row of Table.... " does not fire if the user clicks on the [+] of a row that does not yet have focus.

Need to add this code to the "Expanding Details of row of Table..." as well.

EG: I pass the row "link" to a global variable ( e.g. gcCustomerUID set in the project element code) and run the following code in "Global declaration.." of the internal window.
Hexecutequery(Qry_saleslines,gvCustomerUID,Null)
Tabledisplay(Table_SalesLines,taStart)

could have used
Tabledisplay(Table_salesLines,taReExecuteQuery)

Would be nice if one could resize the internal window to shrink or expand to display number of lines in the query.

Mark Crichton
DataWise Ltd ( New Zealand )
www.datawise.co.nz


von DerekM-2 - am 24.11.2017 02:44
Sorry Mark misspelled your name - Mark Crichton.

von DerekM-2 - am 24.11.2017 02:47
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.