Unit 'MUIClass.PopString' Package
[Overview][Types][Classes][Index] [#MUIClass]

TMUIPopASL.ASLType

Type of asl requester

Declaration

Source position: MUIClass.PopString.pas line 120

published property TMUIPopASL.ASLType : LongWord
  read FASLType
  write SetASLType
  default 0;

Description

Pass the same value you would use for AllocAslRequest(), e.g. ASL_FileRequest, ASL_FontRequest or ASL_ScreenModeRequest.

For ASL_FileRequest and ASL_FontRequest, popasl class offers a a standard start/stop handling. When a file requester is opened, MUI splits the string gadgets contents into a path and a file name and uses these as initial paremeters for the requester. Font popups translate a font into a name/size pair, e.g. "topaz/8". You can override these translations by specifying a OnStart and a OnStop.

For ASL_ScreenModeRequest, no standard handling is available. Using such a popup without Start and Stop Events won't make much sense.


Documentation generated on: 2024-11-21