On 8/24/2020 4:16 AM, Claudio Driussi wrote:
> I need to know if the user resize the columns in XbpBrowse
> because I want to save the new column size.
>
> But seems that no event is fired, so I must save the columns
> each times.
>
> Do you know if there are some undocumented events? I have the
> foundation subscription so no source code.
>
> Best regards
> Claudio
Hi Claudio,
Unless I am misunderstanding you I believe that the xbpColumn object
:Resize call back will do what you are looking for...
Slot: :resize := {| aOldSize, aNewSize, self | ... }
Method: :resize ( <aOldSize>, <aNewSize> ) --> self
You just need to specify the call back for each column of your xbpBrowse
object...
oBrowse:getcolumn(1):Resize := {| aOldSize, aNewSize, self | ... }
oBrowse:getcolumn(2):Resize := {| aOldSize, aNewSize, self | ... }
Regards... Jonathan
jonathan.leeming@familycentre.org
Edmonton, Alberta, Canada