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

MUIM_WriteString

This method simply copies a string somewhere to memory.

Declaration

Source position: mui.pas line 697

const MUIM_WriteString = $80424bf4;

Description

DoMethod(obj, MUIM_Export, [Str: PChar, Memory: PChar]);

Str
string to copy
Memory
location to write the value to

This method simply copies a string somewhere to memory. Although this seems quite useless, it might become handy if used within a notify statement. For instance, you could easily connect the current contents of a string gadget with some member of your programs data structures.

Note: The string is copied with strcpy(), you must assure that the destination points to enough memory.

See also

MUIM_WriteLong

  

This method simply writes a longword somewhere to memory.

MUIM_Notify

  

Add a notification event handler to an object


Documentation generated on: 2021-07-30