> I tried to put my QuickObject on a Toolbar with this parameters $File $Outline
> $MarkedItem $MainWindow.
IIRC normal QuickObject parameters are dlgQODialogName (optional in CTD but not
in CDK :-) $Outline $MarkedItem $MainWindow
> The problem is I want to change my Dialog Quickobject appearance depend on
> what object that currently I'm on, for example if I'm on pushbutton,
> QuickObject dialog for push button will appear and if I'm on data field, it
> will changed into QuickObject dialog for data field.
>
> Who can I solve this problem without click an QuickObject Icon everytime I
> want a different dialog box for each outline (or object) to be changed.
The GetItemType CDK function returns the CDK_IT_ type of the object. You can use
a Select Case to decide which dialog to open.