PRIM_WEB.File (PRIM_WEB.File)
File object selected using the file picker etc.
Ancestors - Object (PRIM_OBJT)
Details
A File object contains the details of the selected physical file object such as an image, video or sound.
Example
In this example, when a file is selected, the file name is used and the Blob is used to populate an image control as well as a Blob field.
Evtroutine Handling(#FilePicker.FileSelected) File(#File)
#Filename := #File.Name
#Image.FileName #xDemoblob := #File.Blob
Endroutine
Properties
Name | Description |
|---|---|
File stored as a Blob | |
ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) | |
ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) | |
ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) | |
Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) | |
ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) | |
ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) | |
Size of the file | |
File mime type | |
Name of the file | |
Owner owns this component Inherited from Object (PRIM_OBJT) | |
The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT) |
Events
Name | Description |
|---|---|
CreateInstance is signaled when an instance of a component is created Inherited from Object (PRIM_OBJT) | |
DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT) |