Hello Martin.

> The question is why sender.getassistivecaption() produces a compile error for 
> you.

Ha, ok. Because Sender was Tobject => changed with iassistiveclient => fixed ;-)

>Why don't you use
> mstr1:= sender.getassistivecaption();
> if mstr1 = '' then begin
>  mstr1:= sender.getassistivename();
> end;

Because it is too simple ;-)
...
No, it is because I like to have full control individual by widget.

> Info about the widget category could be embedded into the result of 
> iassistiveclient.getassistiveflags(). Are there no standards?

Yes, but like for WhatName(), I want to be the boss.
By the way, it will surely be very helpful for somebody else, so many thanks.

> "tobject.classname()" returns the classname.

Excellent and very useful.

>> What widget is it ?
>
>"tcustomtabbar".

Hum, nearly... => (tobject.classname() says "tcustomtabbar1" :-) )
But tcustomtabbar1(Sender).activetag return always: 0, even when a other tab is 
clicked ;-(

=> ttabbar, on his side, gives the correct activetag.

OK, I have follow your advices and commit it to sak_mse.

I am very happy with the result.

Many thanks Martin.

Fre;D





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

Reply via email to