Platforms to show: All Mac Windows Linux Cross-Platform

WinFileTypeMBS class

Type Topic Plugin Version macOS Windows Linux Targets
class Navigation MBS WinFrameworks Plugin 20.1 No Yes No Desktop only
Function: The class for a file type.
Example:
Dim d As WinFileOpenDialogMBS // your dialog
Dim FileTypes() As WinFileTypeMBS

FileTypes.Append New WinFileTypeMBS("JPEG image", "*.jpg")
FileTypes.Append New WinFileTypeMBS("PNG image", "*.png")
FileTypes.Append New WinFileTypeMBS("Tiff image", "*.tif;*.tiff")

d.SetFileTypes FileTypes

Feedback, Comments & Corrections

  • 2 properties
    • property Name as String
    • property Spec as String
  • method Constructor(Name as string, Spec as String)

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS WinFrameworks Plugin.


WinFileSaveDialogMBS   -   WinGestureConfigMBS

The biggest plugin in space...




Links
MBS Xojo tutorial videos