Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Gui different colors for elements


  • Please log in to reply
No replies to this topic
Monzo
  • Members
  • 1 posts
  • Last active: Jan 22 2014 12:35 PM
  • Joined: 11 Jan 2014

Hello,

I have gui:

Gui,Add,Tab2,x3 y2 w515 h340  vRtab Bottom,Данные
Gui, Tab, 1
Gui,Add,Button,x59 y253 w400 h50,Расчёт
Gui,Add,Groupbox,x5 y5 w500 h240,Финальный продукт
Gui,Add,Text,x269 y51 w175 h13,Научный центр (Кварковые ядра):
Gui,Add,Edit,x230 y22 w30 h21  vTop Limit Number,0
Gui,Add,Text,x19 y101 w160 h13,Сборочный комплекс (Модули):
Gui,Add,Text,x18 y25 w200 h13,Термоядерный поляризатор (Топливо):
Gui,Add,Edit,x466 y49 w30 h21  vKv Limit Number,0
Gui,Add,Edit,x230 y48 w30 h21  vMin Limit Number,0
Gui,Add,Edit,x230 y98 w30 h21  vMod Limit Number,0
Gui,Add,Edit,x465 y76 w30 h21  vCr Limit Number,0
Gui,Add,Edit,x466 y21 w30 h21  vMeh Limit Number,0
Gui,Add,Text,x18 y77 w195 h13,Академия навигаторов (Навигаторы):
Gui,Add,Edit,x230 y73 w30 h21  vNav Limit Number,0
Gui,Add,Text,x18 y51 w175 h13,Миностроительный завод (Мины):
Gui,Add,Text,x270 y76 w88 h13,Город (Кредиты):
Gui,Add,Text,x269 y25 w175 h13,Академия механиков (Механики):
Gui,Add,Groupbox,x230 y137 w270 h75,ИТ
Gui,Add,Text,x238 y178 w135 h13,Университет (Инженеры):
Gui,Add,Edit,x463 y156 w30 h21  vTeh Limit Number,0
Gui,Add,Text,x238 y158 w215 h13,Машиностроительная фабрика (Техника):
Gui,Add,Edit,x463 y182 w30 h21  vInj Limit Number,0
Gui,Add,Groupbox,x9 y137 w220 h100,Обвесы
Gui,Add,Text,x23 y184 w130 h13,Завод дроидов (Дроиды):
Gui,Add,Edit,x187 y181 w30 h21  vDr Limit Number,0
Gui,Add,Edit,x187 y156 w30 h21  vUs Limit Number,0
Gui,Add,Text,x24 y208 w110 h13,Завод брони (Броня):
Gui,Add,Edit,x187 y207 w30 h21  vBr Limit Number,0
Gui,Add,Text,x23 y159 w160 h13,Завод усилителей (Усилители):
Gui,Add,Text,x270 y102 w165 h13,Лаборатория (Модули\Топливо):
Gui,Add,Edit,x465 y102 w30 h21  vModL Limit Number,0
Gui,Add,DropDownList,x374 y216 w120  vlvl,1||2|3|4|5 
Gui,Add,Text,x238 y218 w100 h13,Уровень построек:
Gui,Add,Radio,x356 y119 w20 h15  vLabMod Checked,
Gui,Add,Radio,x402 y119 w20 h15  vLabTop,


GuiControl, disable, Расчёт

Gui,Show,AutoSize Center


return

and I wondered whether it is possible to specify color that is on the bottom of the window? I mean leave all in the tab as it is with color that it has, but  all out of the tab other color or to be more exact trancparent?

And 2nd question is there is a easy way to make this window resizeble? Meen that after change all the buttons and text and edit will stay on it place and only change the size?

Thx.