CnPack Forum

#1 Bug in MessageBox Visual designer and C++ Builder
The code generated by the [b]MessageBox Visual designer[/b] for [b]MessageDlg[/b] and [b]C++ Builder[/b] is sometimes incorrect.

For example instead of
MessageDlg("text", mtConfirmation, [mbOK], 0);

it should be
MessageDlg("text", mtConfirmation, TMsgDlgButtons() << mbOK, 0);

The same for
MessageDlg("text", mtConfirmation, [mbYes, mbNo], 0);
MessageDlg("text", mtConfirmation, [mbRetry, mbCancel], 0);

it should be
MessageDlg("text", mtConfirmation, TMsgDlgButtons() << mbYes ..

#1 >>Next Page

Forum:CnWizards IDE Wizard ...
Thread:Bug in MessageBox Vi ...
Next Thread:[Bug] Components del ...

Home
Login

Powered by Discuz!