-
Постов
5 750 -
Зарегистрирован
-
Победитель дней
292
Тип контента
Профили
Форумы
Загрузки
Блоги
Комментарии блога, опубликованные Garik66
-
-
28 минуты назад, MasterGH сказал:
Она могла появиться позже
Да нет вроде есть, в main.lua точно есть:
Скрытый текстgetSettingsForm(): Returns the main settings form
getMemoryViewForm() : Returns the main memoryview form class object which can be accessed using the Form_ class methods and the methods of the classes it inherits from. There can be multiple memory views, but this will only find the original/base
getMainForm() : Returns the main form class object which can be accessed using the Form_ class methods and the methods of the classes it inherits from
getLuaEngine() : Returns the lua engine form object (Creates it if needed)
getApplication() : Returns the application object. (the titlebar)
getAddressList() : Returns the cheat table addresslist object
getFreezeTimer() : Returns the freeze timer object
getUpdateTimer() : Returns the update timer object -
28 минуты назад, MasterGH сказал:
Тут для кнопки, а для Label примерно также
У меня выскакивает ошибка:
Скрытый текстError:[string "function MainLuaProgramm() ..."]:10: attempt to index a nil value (field 'FontDialog1')
На моих экспериментах до этого тоже она была. Может из-за того что у меня до сих пор СЕ 6.5?
-
8 минут назад, MasterGH сказал:
getSettingsForm().FontDialog1.Execute()
Если можно приведи рабочий пример вызова окна выбора шрифтов. У меня не получается..
-
MasterGH, хотел по аналогии сделать и для выбора шрифта:
Скрытый текстfunction CEButton1Click(sender) if FontDialog1.Execute then UDF1.CELabel1.Font = FontDialog1.Font end end
но не работает.
CE не поддерживает?
-
Дополнение:
Скрипт:
Скрытый текстfunction CEButton1Click(sender) local colorPicker = getMainForm().findComponentByName("ColorDialog1") colorPicker.Execute() if colorPicker.Execute then UDF1.Color = colorPicker.Color end end
Видео:
- 3
-
Мастер, сенк!!!
Ну круто же:
- 1
CE Lua ColorPicker (скрытый компонент)
in Блог MasterGH
Блог MasterGH в General
Опубликовано
Start
082D9ED0
1
2
Error:[string "print('Start') ..."]:6: attempt to index a nil value (field 'FontDialog1')