Archicad C++ API
About Archicad add-on development using the C++ API.

DGListSetItemText not in ArchiCAD12 API Help

Anonymous
Not applicable
In ArchiCAD12 API Help, the function
" DGListSetTabFieldData (short dialId, short item, short tabIndex, short begPos, short endPos, short justFlag, short truncFlag, bool hasSeparator, bool status)" ,the last parameter has no description.

Has no description of the function "DGListSetItemText (short dialId, short item, short listItem, const char* text)".

etc.
1 REPLY 1
Karl Ottenstein
Moderator
DGListSetItemText has its own HTML page. If it is not showing up by normal searches for some odd reason, look in:

Documentation > DialogManager > DGHtmlLibrary

to find the doc page.

For DGListSetTabFieldData, I see what you mean. The bool* status parameter is shown in the header file, but is not defined in the documentation. Given that it is a return value (pointer), one would assume that it is true/false to indicate if the function call was successful?

Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB