[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.axapta.programming

Identifying Control types on a Dialog Box

AxaptaProgrammer

1/24/2006 7:36:00 PM

It is difficult to find out the control type on a Dialog box.(ie whether it
is a Combobox or a list box or string control). Is there any way of
identifying the controls type's programmatically?
1 Answer

Luegisdorf

1/25/2006 11:48:00 AM

0

Hi AxaptaProgrammer

Use info(classId2name(classIdGet(controlhandle))) to find out what control
the handle keeps.

regards
Patrick

"AxaptaProgrammer" wrote:

> It is difficult to find out the control type on a Dialog box.(ie whether it
> is a Combobox or a list box or string control). Is there any way of
> identifying the controls type's programmatically?