Unit 'mui' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

MUIM_SetUDataOnce

This method performs like MUIM_SetUData, but stop at first found object.

Declaration

Source position: mui.pas line 629

const MUIM_SetUDataOnce = MUIB_MUI or $42ca19;

Description

DoMethod(obj, MUIM_Export, [UData: IPTR; Attr: LongWord; Value: LongWord]);

UData
userdata to look for.
Attr
attribute to set.
Value
value to set attribute to.

This method performs like MUIM_SetUData, but stops when it has found an object with the given user data. If you don't have objects with equal user datas and don't rely on setting all of them, MUIM_SetUDataOnce is preferrable because it's more efficient.

See also

MUIM_SetUData

  

Find a userdata in objects and childrens list and set an attribute of the object

MUIM_GetUData

  


Documentation generated on: 2021-07-30