Well. Has made so:
...
Global GetScroll
Procedure Scroll(hWnd, Msg, wParam, lParam)
GadgetID=GetProp_(hWnd,"PB_GadgetID")
result = CallWindowProc_(GetScroll, hWnd, Msg, wParam, lParam)
If FindMapElement(MapGadgets(),Str(GadgetID))
Table=MapGadgets()\TableID
Separation=MapGadgets ...
Search found 5 matches
- Fri Jul 30, 2021 2:17 pm
- Forum: Coding Questions
- Topic: Braking in ListIconGadget
- Replies: 5
- Views: 1710
- Thu Jul 29, 2021 9:16 pm
- Forum: Coding Questions
- Topic: Braking in ListIconGadget
- Replies: 5
- Views: 1710
Re: Braking in ListIconGadget
No, it it was not required. Has made as has told netmaestro and has a little corrected a code for reliability.
Scrolling works Structure Cell
CellContent$
ColorCellBack.l
ColorCellFront.l
EndStructure
Structure Column
Array Row.Cell(0)
Map MapCellSelect$() ; Card of the chosen cells in a ...
Scrolling works Structure Cell
CellContent$
ColorCellBack.l
ColorCellFront.l
EndStructure
Structure Column
Array Row.Cell(0)
Map MapCellSelect$() ; Card of the chosen cells in a ...
- Thu Jul 29, 2021 7:30 pm
- Forum: Coding Questions
- Topic: Braking in ListIconGadget
- Replies: 5
- Views: 1710
Re: Braking in ListIconGadget
Thanks, netmaestro !
Means, it is necessary to do something like it:
Procedure OpenTable(Array TableArray.Cell(2),X, Y, WidthWindow, HeightWindow, NameTable$)
...
MapGadgets(Str(Window))\TableID=Table
MapGadgets()\SeparationID=Separation
MapGadgets()\WindowID=Window
MapGadgets(Str ...
Means, it is necessary to do something like it:
Procedure OpenTable(Array TableArray.Cell(2),X, Y, WidthWindow, HeightWindow, NameTable$)
...
MapGadgets(Str(Window))\TableID=Table
MapGadgets()\SeparationID=Separation
MapGadgets()\WindowID=Window
MapGadgets(Str ...
- Thu Jul 29, 2021 5:06 pm
- Forum: Coding Questions
- Topic: Braking in ListIconGadget
- Replies: 5
- Views: 1710
Re: Braking in ListIconGadget
I tried to divide actions in time, using a stream:
Procedure MyThread(Row)
If MapGadgets()\SeparationID
If FlagRowSelect ; Выделить ряд
SetGadgetItemColor(MapGadgets()\SeparationID,Row-1,#PB_Gadget_BackColor,ColorBackSeparationSelect,1)
SetGadgetItemColor(MapGadgets()\SeparationID,Row-1,#PB ...
Procedure MyThread(Row)
If MapGadgets()\SeparationID
If FlagRowSelect ; Выделить ряд
SetGadgetItemColor(MapGadgets()\SeparationID,Row-1,#PB_Gadget_BackColor,ColorBackSeparationSelect,1)
SetGadgetItemColor(MapGadgets()\SeparationID,Row-1,#PB ...
- Thu Jul 29, 2021 4:35 pm
- Forum: Coding Questions
- Topic: Braking in ListIconGadget
- Replies: 5
- Views: 1710
Braking in ListIconGadget
All I welcome.
The tabular editor supporting any number of simultaneously open tables was required to write. Approximately so:
Structure Cell
CellContent$
ColorCellBack.l
ColorCellFront.l
EndStructure
Structure Column
Array Row.Cell(0)
Map MapCellSelect$() ; Card of the chosen cells in a ...
The tabular editor supporting any number of simultaneously open tables was required to write. Approximately so:
Structure Cell
CellContent$
ColorCellBack.l
ColorCellFront.l
EndStructure
Structure Column
Array Row.Cell(0)
Map MapCellSelect$() ; Card of the chosen cells in a ...