hi,
have upgrade CLASS TGrid Demo at Gubthub
https://github.com/AugeOhr/TGRIDsince Release 1 i have try different Control e.g. TFolder() / TFolderEx() or Tbutton() / BtnBMP()
you can enable them in Config.INI or use Start Parameter
- Code: Select all Expand view RUN
"/T" use a Splitter between left/right (sizeable)
"/F" use TFolderEx() instead of TFolder()
"/B" use tBtnBmp() instead of TButton()
"/I" use System Icon instead auf Resoure/File for Combobox
It will override Settings from Config.INI
Release 2 default use "multi-Threaing" to load Image in a Thread
- Code: Select all Expand view RUN
"/S" DISABLE multi-Threading
This is NOT in Config.INI
include *.MAK (BCC 32Bit) and *.HBP (MSVC 64 Bit) use LIB(s) for Option "-mt"
include *.RC does NOT contain any Resource, it is just a "Dummy"
---
Special
I have use Combobox with Ownerdraw using Codebock Slot bOwnerDraw
It have 4 Parameter between || (pipe Sign) which are
- Code: Select all Expand view RUN
Self itself
nIdCtl Control ID
oStruc Ownerdraw Structure
nPointer Pointer to Structure
Ownerdraw Structure have
- Code: Select all Expand view RUN
CtlType := oStruc:CtlType
CtlID := oStruc:CtlID
itemID := oStruc:itemID
itemAction := oStruc:itemAction
itemState := oStruc:itemState
hwndItem := oStruc:hwndItem
hDC := oStruc:hDC
aRect := oStruc:aRect
itemData := oStruc:itemData
each Element of Combobox have to be “paint” by “your” CODE
you get a hDC and and aRect to “paint” Data of itemID (Zero-based ! )
you can use itemState to check if “visual Effect” is need e.g. when have Focus
you can use Gradient Color