Le 31/08/2012 14:52, Ron a écrit : > On 31-8-2012 13:47, Benoît Minisini wrote: >> Le 31/08/2012 13:12, Ron a écrit : >>> Hi list, >>> >>> Is it possible to disable/overrule the 'new' button of a DataBrowser object? >>> >>> If so, how? >>> >>> Thanks. >>> >>> Regards, >>> Ron_2nd. >>> >> No. What do you need exactly? Disabling it? Or overruling it (please >> explain what you mean then)? >> > > Disable it, so you cannot create a record, only browse, deleted and modify. > > Regards, > Ron_2nd. >
Hi, In revision #5104, I have added two properties to DataBrowser: CanCreate and CanDelete. What they do should be obvious. :-) By the way, now DataView and DataBrowser now display no selection when they are in creation mode, except if they are in editing mode. In that case, the new record row is selected. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
