Dlog-Get Pulldown menu choice index

From Vectorlab

Revision as of 07:41, 15 May 2009 by Orso (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Function to return the choice index of a pulldown menu. Ignores the string, you'll prefer this approach in a CASE statement. By Orso B. Schmid


{ Orso B. Schmid ************************************************ }
{ gets a choice index }
FUNCTION D_PullIntChoice(pullID: LONGINT): INTEGER;
    VAR
        temp_s : STRING;
    BEGIN
        GetSelChoice(pullID, 0, D_PullIntChoice, temp_s);
    END;
Personal tools