Форум Flasher.ru
Ближайшие курсы в Школе RealTime
Список интенсивных курсов: [см.]  
  
Специальные предложения: [см.]  
  
 
Блоги Правила Справка Пользователи Календарь Сообщения за день
 

Вернуться   Форум Flasher.ru > Архив Flasher.ru > Flash > Action script 2.0

Версия для печати  Отправить по электронной почте    « Предыдущая тема | Следующая тема »  
Опции темы Опции просмотра
 
Создать новую тему  
Старый 08.10.2003, 10:08
asid вне форума Посмотреть профиль Отправить личное сообщение для asid Найти все сообщения от asid
  № 1  
asid

Регистрация: Sep 2003
Адрес: Новосибирск
Сообщений: 29
Question привязка datagrid к window

как поместить компонент datagrid в окно компонента window

Старый 08.10.2003, 12:57
Дед Анвирыч вне форума Посмотреть профиль Отправить личное сообщение для Дед Анвирыч Найти все сообщения от Дед Анвирыч
  № 2  
Дед Анвирыч
[+] за варез

Регистрация: Mar 2001
Адрес: Россия, Нижний Новгород
Сообщений: 80
Отправить сообщение для Дед Анвирыч с помощью ICQ
По умолчанию Re: привязка datagrid к window

Цитата:
Оригинал написал(а) asid
как поместить компонент datagrid в окно компонента window
rtfm "USING COMPONENTS"-> window component:

Creating an application with the Window component
The following procedure explains how to add a Window component to an application. In this
example, the window asks a user to change her password and confirm the new password.
To create an application with the Button component, do the following:
1 Create a new movie clip that contains password and password confirmation fields, and OK and
Cancel buttons. Name the movie clip PasswordForm.
2 In the library, select the PasswordForm movie clip and select Linkage from the Options menu.
3 Check Export for ActionScript and enter PasswordForm in the Identifier box.
4 Enter mx.core.View in the class field.
5 Drag a Window component from the Components panel to the Stage and delete the
component from the Stage. This adds the component to the library.
6 In the library, select the Window SWC and select Linkage from the Options menu.
7 Check Export for ActionScript.
8 Open the Actions panel, and enter the following click handler on Frame 1:
buttonListener = new Object();
buttonListener.click = function(){
mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, {
title:"Change Password", contentPath:"PasswordForm" })
}
button.addEventListener("click", buttonListener);

Создать новую тему   Часовой пояс GMT +4, время: 18:49.
Быстрый переход
  « Предыдущая тема | Следующая тема »  

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.


 


Часовой пояс GMT +4, время: 18:49.


Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.