Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 6 Jahren, 1 Monat
Letzter Beitrag:
vor 6 Jahren, 1 Monat
Beteiligte Autoren:
Piet van Zanten, Art Bonds

Missing commands in Ver 16 Help file?

Startbeitrag von Art Bonds am 17.01.2012 03:18

Is it my imagination (or is my help file out of date) but I can't find where ExtendedTableProperty, ExtendedTableAddColumn, or ANY type of Extendedsomethingorother is even covered in help.

Ideas?

Antworten:

Hi Al,

I've never heard of these functions/properties.
What do they do?

Regards,
Piet

von Piet van Zanten - am 17.01.2012 11:33
Hi Piet,

Apparently "Extended Table" is another word for a TreeView Table. But I cannot find the commands in the Help file I have. I am trying to make a TreeView on a single file (recursive) but so far no luck.

For an example of Extendedxxxxx commands, look in "Wizards, Examples and Components" "Examples of Components" "Extended Table - Example" and Extended Table - Source", then look at the code to fill the tables.

Code like this... and if you see a 'wink' in the below code it's actually a 'close prenthesis':


// Manages the events on the extended table
ExtendedTableProperty(IW_ADVANCEDTABLE, propCallbackClick, "WIN_Main.TableClick")
ExtendedTableProperty(IW_ADVANCEDTABLE, propCallbackCollapsedExpandedBefore, "WIN_Main.CollapseExpandTable")
ExtendedTableProperty(IW_ADVANCEDTABLE, propCallbackCollapsedExpandedAfter, "WIN_Main.CollapseExpandTable")
ExtendedTableProperty(IW_ADVANCEDTABLE, propCallbackSelection, "WIN_Main.TableSelection")

// Adds a "Checkmark Image" column before the path
ExtendedTableInsertColumn(IW_ADVANCEDTABLE, 1, "COLCheckmark", "", clnImage, 24, True)
// Adds a column associated with the "Checkmark Image" column to store the result
ExtendedTableAddColumn(IW_ADVANCEDTABLE, "COLInvCheckmark", "", clnNumeric, 24, False)

// Applies a popup menu
ExtendedTableProperty(IW_ADVANCEDTABLE, propPopupMenu, "mcExtendedTable+")

// Adds a column to display a counter
ExtendedTableAddColumn(IW_ADVANCEDTABLE, "COLElementNumber", "Total", clnText, 100, True)

// Creates a "Collection" root
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections", "Images\collection.gif", "Images\collection.gif", "COLLECTION_ROOT", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "")

// Creates an "Active" sub-root
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections" + TAB + "Enabled", "Images\collection.gif", "Images\collection.gif", "COLLECTION_ROOT_1", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "")

// Creates the elements of the "Active" sub-collection
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections" + TAB + "Enabled" + TAB + "Modern", "Images\collection.gif", "Images\collection.gif", "COLLECTION_ROOT_1_1", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "15 elements")
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections" + TAB + "Enabled" + TAB + "Former", "Images\collection.gif", "Images\collection.gif", "COLLECTION_ROOT_1_2", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "27 elements")

// Creates a "Favorites" sub-root
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections" + TAB + "Favorites", "Images\favorites.gif", "Images\favorites.gif", "COLLECTION_ROOT_2", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "")

// Creates the elements of the "Favorites" sub-collection
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections" + TAB + "Favorites" + TAB + "The most used", "Images\favorites.gif", "Images\favorites.gif", "COLLECTION_ROOT_2_1", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "61 elements")
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections" + TAB + "Favorites" + TAB + "The most appreciated", "Images\favorites.gif", "Images\favorites.gif", "COLLECTION_ROOT_2_2", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "18 elements")
ExtendedTableAdd(IW_ADVANCEDTABLE, "Collections" + TAB + "Favorites" + TAB + "The most visited", "Images\favorites.gif", "Images\favorites.gif", "COLLECTION_ROOT_2_3", "Images\border_checkmark_false.gif" + TAB + 0 + TAB + "40 elements")

// Modifies the alignemnt of the counter column
ExtendedTableColumnProperty(IW_ADVANCEDTABLE, "COLElementNumber", propHorizontalAlignment, haRight)

// Displays the content
ExtendedTableDisplay(IW_ADVANCEDTABLE)

von Art Bonds - am 17.01.2012 12:14
Hi Al,

These are procedures in the example (look in the Global Procedures: pExtended table)
That's why they don't show in the Help :cool:

Regards, Piet

von Piet van Zanten - am 17.01.2012 16:11
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.