Search found 10 matches: getseltext

Return to advanced search

Re: Mejoras para scintilla

... Build 7600 Time from start: 0 hours 0 mins 38 secs Error occurred at: 10/11/2018, 18:52:26 Error description: Error BASE/1004 No exported method: GETSELTEXT Parameters: ======================== [ 1] = U Stack Calls =========== 000002 Called from: => GETSELTEXT( 0 ) 000003 Called from: .\source\classes\TFIVEDIT.PRG ...
by Silvio.Falconi
Sat Nov 10, 2018 5:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 840173

Re: FindWindow Help

Lailton,

Don't use & here:

SendMessage( hWndCtrl, GETSELTEXT, 0, cBuffer );

The name of an array is its address :-)
by Antonio Linares
Mon Apr 05, 2010 2:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FindWindow Help
Replies: 7
Views: 1016

FindWindow Help

Hi,

How i return text selected in a window ?

hWnd:= FindWindow(,"Mozilla FireFox")
SendMessage(hWnd, EM_GETSELTEXT, 0, 0)

i wanna return "_text this string "

Someone can help me ?

Thanks so much.
by lailton.webmaster
Sun Apr 04, 2010 5:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FindWindow Help
Replies: 7
Views: 1016

Re: Ayuda con TreeView

... || oWnd:SetText( If( oTree:GetSelected():GetParent() != nil,; oTree:GetSelected():GetParent():cPrompt + " + ", "" ) + ; oTree:GetSelText() ) } Gracias
by LuisPonce
Tue Nov 03, 2009 12:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TreeView
Replies: 1
Views: 389

Re: Treeview

... ; oWnd:SetText( If( oTree:GetSelected():GetParent() != nil,; oTree:GetSelected():GetParent():cPrompt + " + ", "" ) + ; oTree:GetSelText() ), ; oItem := oTree:GetSelected(), ; If( oItem # nil .and. ValType( oItem:cargo ) == "B", Eval( oItem:cargo ), nil ) } Ojala ...
by VPOZO
Thu Oct 01, 2009 10:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Treeview
Replies: 3
Views: 618

Re: Tree: Error en oTree:GetSelected():GetParent():cPrompt

... desde ya muchas gracias por responder He tomado testtre2.prg de \samples y agruegué el siguiente código: oTree:blDblClick:= {|| if( !Empty( oTree:GetSelText() ), ; if( !Empty( oTree:GetSelected():GetParent():cPrompt ), ; wqout( { oTree:GetSelected():GetParent():cPrompt }), "vacio"), ...
by MarioG
Tue Sep 01, 2009 3:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tree: Error en oTree:GetSelected():GetParent():cPrompt
Replies: 6
Views: 1684

¿ Y como se en que Item he pulsado doble click ? Me contesto yo: oTree:getSelText() ¿ Como se si es padre o hijo ? Aqui ya tengo problemas. Si pido oTree:GetSelected():GetParent():cPrompt y oTree:getSelText() estando en un hijo (2º nivel) me da el texto del ...
by JmGarcia
Wed Oct 08, 2008 7:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Refrescar Treeview en tiempo de ejecución?
Replies: 6
Views: 1413

listo

... cTexto2:=oTreeView:GetSelected():GetParent():GetParent:cPrompt cTexto3:=oTreeView:GetSelected():GetParent():cPrompt cTexto4:=oTreeView:getSelText() return cTexto1+cTexto2+cTexto3+cTexto4 saludos
by Miguel Salas
Tue Jun 24, 2008 12:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: armar una cadena con los items padres en treeview
Replies: 2
Views: 638

oTree:GetSelText()

oTree:GetSelText() solo me recoge los 100 primeros caracteres ¿Se puede aumentar este número? ¿Cómo?

Un saludo,
Manuel
by Manuel Aranda
Thu Feb 22, 2007 6:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: oTree:GetSelText()
Replies: 0
Views: 496

Gilberto,

Please review samples\TestTree.prg:

oTree:bChanged = { || oWnd:SetText( If( oTree:GetSelected():GetParent() != nil,;
oTree:GetSelected():GetParent():cPrompt + " + ", "" ) + ;
oTree:GetSelText() ) }
by Antonio Linares
Sat Sep 23, 2006 5:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Action em Tree
Replies: 4
Views: 1280

Return to advanced search