Different width buttonbar
Posted: Thu Sep 17, 2020 5:15 pm
Hello friends
Is it possible that on the buttonbar I have one of the buttons with a different width?
Thank you.
Is it possible that on the buttonbar I have one of the buttons with a different width?
Code: Select all
@ 0060,0000 BUTTONBAR oBarMARCA OF oWndMARCA TOP SIZE 1226,0078 3DLOOK PIXEL
oBarMARCA:bClrGrad := {|lMouseOver|If(!lMouseOver,{{1,nRGB(244,244,245),nRGB(244,244,245)}},{{1,nRGB(145,201,247),nRGB(145,201,247) }})}
oBarMARCA:bRClicked := { || nil }
oBarMARCA:l2015 := .T.
oBarMARCA:nBtnWidth := 78
oBarMARCA:nBtnHeight := 78
DEFINE BUTTON oBtnADICIONAR RESOURCE "BAR_ADICIONAR" OF oBarMARCA PROMPT "Adicionar" FONT ARIAL14B ACTION OPERACAO_AGENDA(1)
DEFINE BUTTON oBtnVISUALIZAR RESOURCE "BAR_VISUALIZAR" OF oBarMARCA PROMPT "Visualizar" FONT ARIAL14B ACTION OPERACAO_AGENDA(2)
DEFINE BUTTON oBtnALTERAR RESOURCE "BAR_EDITAR" OF oBarMARCA PROMPT "Editar" FONT ARIAL14B ACTION OPERACAO_AGENDA(3)
DEFINE BUTTON oBtnEXCLUIR RESOURCE "BAR_EXCLUIR" OF oBarMARCA PROMPT "Excluir" FONT ARIAL14B ACTION OPERACAO_AGENDA(4)
DEFINE BUTTON oBtnRELATORIOS RESOURCE "BAR_RELATORIOS" OF oBarMARCA PROMPT "Relatórios" GROUP FONT ARIAL14B //ACTION PRODUTOS()
DEFINE BUTTON oBtnAJUSTES RESOURCE "BAR_AJUSTES" OF oBarMARCA PROMPT "Ajustar CdEst/CdPad" GROUP FONT ARIAL14B //ACTION PRODUTOS()
DEFINE BUTTON oBtnSAIR RESOURCE "BAR_SAIR" OF oBarMARCA PROMPT "Sair" GROUP FONT ARIAL14B //ACTION PRODUTOS()
oBarMARCA:oBtnAJUSTES:nBtnWidth := 128