|
|
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
как в билдере использовать метод RestoreGridLayout ? вот так в дельфях: ============ procedure RestoreGridLayout(ACustIni: TCustomIniFile; Section: String; RestoreParams:TDBGridEhRestoreParams); overload; dbGrid.RestoreGridLayout(RegIniFile,"GRID", [grpColIndexEh, grpColWidthsEh, grpSortMarkerEh, grpColVisibleEh, grpRowHeightEh, grpDropDownRowsEh, grpDropDownWidthEh]); ============ в частности не могу никак правильно передать RestoreParams :( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 07:18:00 |
|
||
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
вот описание TDBGridEhRestoreParams : enum TDBGridEhRestoreParam { grpColIndexEh, grpColWidthsEh, grpSortMarkerEh, grpColVisibleEh, grpRowHeightEh, grpDropDownRowsEh, grpDropDownWidthEh }; typedef Set<TDBGridEhRestoreParam, grpColIndexEh, grpDropDownWidthEh> TDBGridEhRestoreParams; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 08:10:39 |
|
||
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
вот описание TDBGridEhRestoreParams : enum TDBGridEhRestoreParam { grpColIndexEh, grpColWidthsEh, grpSortMarkerEh, grpColVisibleEh, grpRowHeightEh, grpDropDownRowsEh, grpDropDownWidthEh }; typedef Set<TDBGridEhRestoreParam, grpColIndexEh, grpDropDownWidthEh> TDBGridEhRestoreParams; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 08:27:13 |
|
||
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
Привет. Так я пишу: Восстановление настроек Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Сохранение настроек Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. Удачи. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 10:47:19 |
|
||
|
|

start [/forum/topic.php?fid=57&tid=2033241]: |
0ms |
get settings: |
10ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
45ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
25ms |
get tp. blocked users: |
1ms |
| others: | 232ms |
| total: | 344ms |

| 0 / 0 |
