Home > comp > gb.form > stock 
 en fr de es it nl pl pt pt_BR mk ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Stock (gb.form)
This Klasë is used for returning predefined icons.

You should not have to use this Klasë directly to get these icons. Use the Picture Klasë as an array instead.

Symbols
This class is static.
This class acts like a read-only array.

Static properties  Static methods 
Debug  Icons  List  Themes    GetSize  Refresh   

Examples

If we had a ToggleButton then this click Ngjarje would change the stock icon displayed.

PUBLIC SUB ToggleButtonDetail_Click()
  IF ToggleButtonDetail.Value THEN
    ToggleButtonDetail.Picture = Stock["16/view-icon"]
  ELSE
    ToggleButtonDetail.Picture = Stock["16/view-detail"]
  END IF
END

And this next example does exactly the same as above. But here we use a Picture class to load the stock icon.

PUBLIC SUB ToggleButtonDetail_Click()
  IF ToggleButtonDetail.Value THEN
    ToggleButtonDetail.Picture = Picture["icon:/16/view-icon"]
  ELSE
    ToggleButtonDetail.Picture = Picture["icon:/16/view-detail"]
  END IF
END