Recent

Author Topic: SpkToolBar  (Read 3788 times)

Stclara

  • New Member
  • *
  • Posts: 10
SpkToolBar
« on: December 20, 2017, 02:14:55 pm »
Bom dia, pessoal. Tenho um spktoolbar com cinco abas. Como faço para que ao clicar em um botão seja selecionada uma respectiva aba, tipo spktoolbar.activepage = aba1?
No spktoolbar não achei algo parecido com a activepage..

[]´s


wp

  • Hero Member
  • *****
  • Posts: 11916
Re: SpkToolBar
« Reply #1 on: December 20, 2017, 02:25:58 pm »
The Object Inspector is useless when you want to navigate through the child controls of the SpkTookbar. You must double-click on the toolbar (or right-click and select "Contents editor") to bring up the editor for the toolbar's child controls. This editor shows a treeview with the hierarchy of all child controls. Select a node to bring its properties into the object inspector for editing.

Handoko

  • Hero Member
  • *****
  • Posts: 5154
  • My goal: build my own game engine using Lazarus
Re: SpkToolBar
« Reply #2 on: December 20, 2017, 02:29:20 pm »
I never tried, but maybe something like:
Code: Pascal  [Select][+][-]
  1.   SpkToolbar1.TabIndex := 2;

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: SpkToolBar
« Reply #3 on: December 20, 2017, 02:33:33 pm »
Yes, SpkToolbar1.TabIndex is correct. But this is in the ObjectInspector.

I must say that my Google-translation of the original post is difficult to understand. Maybe a native Portuguese speaker can translate it to better English?

Handoko

  • Hero Member
  • *****
  • Posts: 5154
  • My goal: build my own game engine using Lazarus
Re: SpkToolBar
« Reply #4 on: December 20, 2017, 02:44:57 pm »
I reread the translated text and I see your point now.

Stclara

  • New Member
  • *
  • Posts: 10
Re: SpkToolBar
« Reply #5 on: December 20, 2017, 02:51:30 pm »
Perfeito... Muito obrigado... Desenvolvendo um sistema três camadas com Postgres, Lazarus e RestDataWere

 

TinyPortal © 2005-2018