AcessoSoft Posted December 2, 2017 Report Share Posted December 2, 2017 É possível colocar um controle checkbox ou um bitmap (simulando checkbox) no header de um controle xBrowse? Já uso uma espécie de checkbox nas colunas. Entretanto, desejo inserir um controle checkbox no header que ao ser clicado, executará uma função do tipo: "Selecionar tudo". Quote Link to comment Share on other sites More sharing options...
rochinha Posted December 3, 2017 Report Share Posted December 3, 2017 Amiguinhos AcessoSoft informe o tipo de browse que você usa, tBrowse ou xBrowse. Quote Link to comment Share on other sites More sharing options...
AcessoSoft Posted December 3, 2017 Author Report Share Posted December 3, 2017 Ambos. Mas o que quero inserir o controle no header é xBrowse. Quote Link to comment Share on other sites More sharing options...
Theotokos Posted December 4, 2017 Report Share Posted December 4, 2017 oLbx:aCols[1]:AddResource("SEntrega" ) // Entregar SIM oLbx:aCols[1]:AddResource("NEntrega" ) // Entregar NAO oLbx:aCols[1]:nHeadBmpNo := If(M_STATUS, 1, 2) Quote Link to comment Share on other sites More sharing options...
HERGON Posted December 4, 2017 Report Share Posted December 4, 2017 Bom dia Mas como você testa se foi clicado no cabeçalho marcando ou desmarcando a opção ? Herberson Gontijo Quote Link to comment Share on other sites More sharing options...
Theotokos Posted December 4, 2017 Report Share Posted December 4, 2017 oLbx:aCols[1]:bLClickHeader:= {|| MsgWait("CONFIRA O ENDEREÇO DE ENTREGA !!!","Endereço Entrega",.5), Aeval(aDados,{|a| a[17] := !a[17]}), oLbx:Refresh() } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.