Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / foreground / 3 сообщений из 3, страница 1 из 1
21.08.2008, 15:53
    #35499694
vovan_z
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
foreground
подскажите как установить foreground для объекта в DW
команда
dw_1.modify("client_t.band=foreground")
не работает

спасибо
...
Рейтинг: 0 / 0
21.08.2008, 16:13
    #35499763
urvas
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
foreground
Оно?


SetPosition PowerScript function:
Syntax 2 For positioning objects within a DataWindow


Description

Moves an object within the DataWindow to another band or changes the front-to-back order of objects within a band.

Controls

DataWindow controls and DataStores

Syntax

dwcontrol.SetPosition ( objectname, band, bringtofront )

Argument Description
dwcontrol The name of the DataWindow control or DataStore containing the object.
objectname The name of the object within the DataWindow that you want to move. You assign names to the DataWindow objects in the DataWindow painter.
band The name of the band or layer in which you want to position objectname.Layer names are background and foreground.Band names are detail, header, footer, summary, header.#, and trailer.#.# is the group level number. Enter the empty string ("") if you do not want to change the band
bringtofront A boolean indicating whether you want to bring objectname to the front within the band:· TRUE - Bring it to the front· FALSE - Do not bring it to the front
Return value

Integer. Returns 1 when it succeeds and -1 if an error occurs. If any argument's value is null, SetPosition returns null.
...
Рейтинг: 0 / 0
21.08.2008, 16:28
    #35499838
vovan_z
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
foreground
да, спасибо
...
Рейтинг: 0 / 0
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / foreground / 3 сообщений из 3, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]