ControlType() and library objects

agraham

Expert
Licensed User
The problem is that this only works on objects from external libraries. If I iterate the controls returned by GetControls(""), which are a mixture of B4PPC native control and library objects it fails on the native controls. Please consider this for the next release. It is impressive that the treatment of external objects is so orthogonal with that of native controls (AddEvent, Control(), AddObject) but this is the one thing that I have found (so far :)) that I can't work round.
 

agraham

Expert
Licensed User
This will be fixed in the next version.
Thank you Erel.

I have already tried that workaround but it is not precise enough identification. I wanted to know the actual type of a control but I can work around it for time being.


You obviously realised what I was after but of course my previous post
it fails on the native controls
Should have been "fails on the library controls"
 
Top