Topic: A button has gone missing after DB error
I have just suffered a weird experience, I clicked on a button to save a record and a DB error appeared (correctly) and now the button has disappeared off the form.
It is still listed in the XML file as visible and shows as visible in the Object Inspector - and yet, on the form it is not!
Any thoughts how I can find it again without having to rewrite code?
<TdbButton Name="btnEditSave" Left="632" Top="472" Width="81" Height="25" dbAnchors="2211" FontName="Segoe UI" FontSize="9" FontColor="8421376" FontStyle="0" TabOrder="5" TabStop="True" dbEnabled="True" dbVisible="True" Cursor="crDefault" BiDiMode="bdLeftToRight" Hint="" ShowHint="False" Caption="Save Edit" dbActionType="adbNone" dbReportOpenIn="rpoPreview" dbExportTo="exptExcel" dbListControls="DBImage1" dbGeneralTable="products" dbSQL="UPDATE productsupplier SET description = "{frmEditPart.edtEditDescription.text}" WHERE id = "{frmEditPart.grdEditPart.sqlValue}";\r\n" dbIconName="Save" dbConfirmDelete="True" dbCloseFormAfterSave="False" dbCheckNotNull="True" dbSortAsc="True" Cancel="False" Default="True" ImageAlignment="iaLeft" Style="bsPushButton" WordWrap="False" Roles="" RoleBtnBehavior="rbbDisabled" RoleMessage="" dbOnClick="frmEditPart_btnEditSave_OnClick"/>