Hello Roland.

Sorry, I did commit some change following the advises of fpc-mailing list:

https://github.com/mse-org/mseide-msegui/commit/

Of course it can be changed but is is to make advance the "schmilblick".

It takes the same idea as yours, the only thing changed is that tak_nil is
placed at end of the enum.
This because sometime ord() is used and so the order of each enum is
maintained.

And in place to use "-1" "tak_nil" is used:

 kind := tabulatorkindty(tak_nil); // this to initialize

 if kind = tabulatorkindty(tak_nil) then // this in code

And this for mainly all warnings.

I left, for the sport, 2 warnings, feel free the fix it !

Fre;D





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


_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to