Hello Sieghard

**Many thanks** for all that clear explanation.

> BTW, I'd suggest to use the word "illegal" 

Ha, ok, in last commit I did use "none" or "nil", I will change it asap.

> tabulatorkindty = (tak_illegal:= -1, tak_left, tak_right,
> tak_centered,tak_decimal); 

Like explained to Roland, in last commits I did place "tak_illegal" as last
member of the enum.

Take this original example:

scrollbarareaty =
(sbbu_down,sbbu_move,sbbu_up,sba_start,sba_end,sba_clicked,sba_none)
...
const
 scrollbarclicked = ord(sba_end) + 1;

You may see that Martin did add a "extended" value for scrollbarareaty:
scrollbarclicked.

This is not "catholic" so I did add 2 members in the enum:
sba_clicked,sba_none and adapt the code for it:

scrollbarareaty =
(sbbu_down,sbbu_move,sbbu_up,sba_start,sba_end,sba_clicked,sba_none);

In that case the order is important, because at a moment, this is called in
original code:

bu1:= low(scrollbarareaty) to high(scrollbarareaty)

So it was changed with: 

bu1:= low(scrollbarareaty) to high(scrollbarareaty)-2

Fre;D








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to