On Monday 03 October 2016 15:53:28 Patrick Goupell wrote: > On 10/03/2016 09:48 AM, Martin Schreiber wrote: > > Please explain. There should be no randomness. > > > > Martin > > I use this procedure to load the stringgrid (see end of post) > > It is called in the form oncreated event handler. > > There is no blank first row. > > If the following sequence is performed then there is a blank row in the > stringgrid. > > a row is clicked for selection. > a delete button is pressed to delete the selected row. > the record is deleted from the database. > the DolbLookupsTypesOnChange procedure is called. A blank row is shown > in the stringgrid. > > Looks as designed. og_autofirstrow adds an empty row to an empty grid if it gets focused. If it looses focus the empty row will be removed. The purpose is to allow editing an empty grid without the necessity to manually add a row first. The options og_autoappend and og_appendempty belong to the same group.
Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

