Search the Community
Showing results for tags 'titlebuttons'.
-
У формы есть встроенные кнопки (TitleButtons), которые привязаны к TAction. В событии onShow я что-то проверяю и выполняется строка actPhoneAdd.Visible := false; При этом кнопка формы, которая привязана к этому действию, всё равно остается видимой. По идее, кнопка должна тоже поменять свое значение видимости. Мало того, когда я принудительно прячу кнопку self.TitleButtons[0].Visible := false; кнопка всё равно видна
-
I have 4 TitleButtons on a MobileForm. My code below fails (I have tried ButtonID as well), please advise how to change button text at runtime - Thanks case Mode of 0: TitleButtons[1].Caption:= 'Auto'; 1: TitleButtons[1].Caption:= 'Odd'; 2: TitleButtons[1].Caption:= 'Even'; else TitleButtons[1].Caption:= 'Auto'; end; UniSession.Synchronize;