In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Se encontraron 262 coincidencias
- Mar Feb 22, 2022 8:28 pm
- Foro: Spanish
- Tema: Mensaje de error -TDbfDataSet not destroyed correctly.
- Respuestas: 3
- Vistas: 965
Re: Mensaje de error -TDbfDataSet not destroyed correctly.
Olá, use apenas destroy e sem condicionais ( já faz o :close() ): AEVAL(oDataSource:aDataSet, {|o|o:destroy()}) Versão mais compacta e parametrizável: FUNCTION CerrarTodoDS( aDS ) local oDS LOCAL nPos aDS:=IF( aDS == NIL, DataSources(), aDS ) for nPos:=Len(aDS) TO 1 STEP -1 oDS:=aDS[nPos] AEVAL(oDS:...
- Mié Feb 16, 2022 1:07 pm
- Foro: English
- Tema: TBrowseMod - inconsistencies
- Respuestas: 1
- Vistas: 428
TBrowseMod - inconsistencies
Hi, Inconsistencies: 1 - FASTEDIT: when starting typing* (Eg: z, x), it only activates the editing mode, ignoring the typed letter. 2 - FASTEDIT: when starting typing* (Eg: a, b), will enter a number. 3 - In the form designer, if you click further to the right of a column, it will not be selected, b...
- Mié Feb 16, 2022 4:47 am
- Foro: English
- Tema: IDEInspector - how to change TLabel:cText?
- Respuestas: 6
- Vistas: 1245
IDEInspector - how to change TLabel:cText?
Hi,
I'm completing a new plugin...
how do I change the TLabel:cText value? that is in the Form Designer and reflect it in the Object Inspector.
regards,
I'm completing a new plugin...
how do I change the TLabel:cText value? that is in the Form Designer and reflect it in the Object Inspector.
regards,
- Mar Feb 15, 2022 3:18 am
- Foro: English
- Tema: TBrowseMod - Message not found: TEditForGrid:NDATACOL
- Respuestas: 1
- Vistas: 368
TBrowseMod - Message not found: TEditForGrid:NDATACOL
Hi, The onSaveCol event is sending an TEditForGrid object, instead of TBrwColMod (as described in the documentation). METHOD BrwSaveCol( oSender, oCol, xValue ) CLASS tfrmLbEdit /*REDECLARE oCol as TBrwColMod if oCol:nDataCol = 4 ... endif */ // Only one column is editable, it won't break my code. m...
- Lun Feb 14, 2022 12:58 pm
- Foro: English
- Tema: Code Editor - incorrect function hint
- Respuestas: 1
- Vistas: 356
Code Editor - incorrect function hint
Hi,
correct is hb_dirCreate( <cDirectory> ) -> nError.
correct is hb_dirCreate( <cDirectory> ) -> nError.
- Vie Feb 11, 2022 7:36 pm
- Foro: English
- Tema: TBrowseMod/Column:nClrPane - doesn't work when....
- Respuestas: 2
- Vistas: 422
- Vie Feb 11, 2022 12:33 pm
- Foro: English
- Tema: TBrowseMod - freeze column and more
- Respuestas: 4
- Vistas: 790
TBrowseMod - freeze column and more
Hi,
I have attached a small example.
Is this the correct way to freeze the column?
Via Form Designer, it is not possible to click directly on any column to adjust it in the Object Inspector.
regards,
I have attached a small example.
Is this the correct way to freeze the column?
Via Form Designer, it is not possible to click directly on any column to adjust it in the Object Inspector.
regards,
- Vie Feb 11, 2022 1:40 am
- Foro: English
- Tema: TBrowseMod/Column:nClrPane - doesn't work when....
- Respuestas: 2
- Vistas: 422
TBrowseMod/Column:nClrPane - doesn't work when....
Hi, if this line of code is active, column 1 will not apply the color of nClrPane: ::oBrowseMod1:aGridData:=Directory('*.*') #include "Xailer.ch" CLASS TForm2 FROM TForm COMPONENT oBrowseMod1 METHOD CreateForm() METHOD FormInitialize( oSender ) ENDCLASS #include "Form2.xfm" //---...
- Vie Feb 11, 2022 12:33 am
- Foro: English
- Tema: Error: TBROWSEMOD:DELCOL
- Respuestas: 1
- Vistas: 358
Error: TBROWSEMOD:DELCOL
Hi, To simulate with Form Designer: include two columns delete the first column delete the second column (KABUMM) Subsystem Call: BASE System Code: 1132 Default Status: .F. Description: Bound error Operation: array access Arguments: [ 1] = Type: A Val: [ 2] = Type: N Val: 2 Involved File: Dos Error ...
- Mar Feb 08, 2022 1:23 pm
- Foro: English
- Tema: AddExistingControl - control does not select, activates
- Respuestas: 3
- Vistas: 498
Re: AddExistingControl - control does not select, activates
Hi, it works fine when I insert the control directly into the Form, but when I insert it inside a container (groupBox...), both are selected. I sent you an email with a small complete example. just add: oPlugin:IInspector:oActiveForm:ReplaceSelection(oCtrl) add_control2.png I tested this but it keep...
- Lun Feb 07, 2022 1:57 pm
- Foro: English
- Tema: AddExistingControl - control does not select, activates
- Respuestas: 3
- Vistas: 498
AddExistingControl - control does not select, activates
Hi, after i inserted the control into the Form, it is not selected, (I need to click on control to activate in object inspector). I will email you a small complete project. if nsBtn = BTN_MSK with object oCtrl:=TDbMaskEdit():New(oParent) :SetBounds( aPos[1], aPos[2], 80, 20 ) //:oDataField:=cField :...
- Jue Feb 03, 2022 5:34 pm
- Foro: English
- Tema: Code Editor - new button, no duplication
- Respuestas: 0
- Vistas: 805
Code Editor - new button, no duplication
Hi, I added a button to my routine in Code Editor, but how to make it not duplicate when compiling the plugin? With two lines of code, I improvised and it works fine: function install_ColorPicker(self) local oBand AEval( ::IEditor:oRebar:aItems, {|o|IF(HB_IsChar(o:cargo) .and. o:cargo == UTIL_NAME, ...
- Mié Ene 26, 2022 6:50 pm
- Foro: Spanish
- Tema: Reproducir MP3
- Respuestas: 2
- Vistas: 1103
Re: Reproducir MP3
Olá, veja o exemplo SAMPLES\VIDEO\VideoPlayer.XPJ O arquivo fonte da classe TVideoPlayer esta junto. METHOD FormInitialize( oSender ) CLASS TVideo DeleteMenu( GetSystemMenu( ::Handle ), 2, MF_BYPOSITION ) WITH OBJECT ::oMCI := TVideoPlayer():New( Self ) //:cMediaFile := "fp.avi" :cMediaFil...
- Mié Ene 26, 2022 5:56 pm
- Foro: Spanish
- Tema: Archivo adjunto duplicado en Mail
- Respuestas: 4
- Vistas: 1297
Re: Archivo adjunto duplicado en Mail
Olá, eu olhei o código fonte da classe. Troque :destroy() por :free(). após o :create(), adicione :lInstalled e informe se retorna .T. ou .F. no final do loop, após cada envio, adicione a função sleep(50), apenas para teste. Qual o domínio de e-mail (remetente) esta usando? No total, há quantos envi...
- Mar Ene 25, 2022 12:37 am
- Foro: Spanish
- Tema: Filtro del browse
- Respuestas: 2
- Vistas: 1165
Re: Filtro del browse
- Vie Ene 21, 2022 2:35 am
- Foro: English
- Tema: Sqlite datasource for DBBrowse
- Respuestas: 4
- Vistas: 971
Re: Sqlite datasource for DBBrowse
Hi, 1 - In TSQLiteDataSouce: assign the full name of the DB file (:cConnect) 2 - add TSQLQuery: define SQL statement (:cSelect) assign/select the DataSource (:oDataSource) activate (:lOpen) * 3 - In TDBBrowse: assign/select the TSQLQuery (:oDataSet) If there are no columns in the browse, they will b...
- Mié Ene 19, 2022 8:01 pm
- Foro: English
- Tema: IDE: BEGIN JSON-EN JSON
- Respuestas: 1
- Vistas: 603
IDE: BEGIN JSON-EN JSON
Hi,
what is this feature? how to use?
> Support of BEGIN JSON-EN JSON in Treeview of the active module
regards,
what is this feature? how to use?
> Support of BEGIN JSON-EN JSON in Treeview of the active module
regards,
- Mié Ene 19, 2022 4:48 am
- Foro: English
- Tema: no forum notification
- Respuestas: 1
- Vistas: 591
no forum notification
Hi, I haven't received any notifications from the forum for 7 months. (a few days after I was added to the Pro Users group). In "Manage subscriptions", it shows all the forums I'm subscribed to. In "Edit notification options", is enabled, I haven't changed anything. I did the Uns...
- Mar Ene 11, 2022 9:32 pm
- Foro: Spanish
- Tema: Problemas de lentitud
- Respuestas: 2
- Vistas: 667
Re: Problemas de lentitud
simples, Objeto x Variável simples, com objeto precisa procurar em tempo de execução as propriedades da classe, é natural que seja mais lento, não é um problema. Em cada trecho de código, o programador sempre terá que escolher o que deve usar, até uma função no lugar errado tornará mais lento. Na pr...
- Mar Ene 11, 2022 1:55 pm
- Foro: English
- Tema: New Form - IDE shortcuts don't work
- Respuestas: 0
- Vistas: 1114
New Form - IDE shortcuts don't work
Hi Ignacio, I created a form for the IDE, when it is in focus, the Xailer shortcuts don't work: F9, F11, CTRL+11.... but the shortcut for my other plugin works. When Project Manager or Object Inspector is in focus, Xailer shortcuts work. I have sent a complete example to your email. I added a quick ...
- Mar Ene 11, 2022 1:14 pm
- Foro: English
- Tema: how to add image in TComboBox?
- Respuestas: 1
- Vistas: 518
how to add image in TComboBox?
Hi,
in this way: regards,
in this way: regards,
- Mar Ene 04, 2022 6:44 pm
- Foro: English
- Tema: ComboBox:cText problem
- Respuestas: 3
- Vistas: 610
Re: ComboBox:cText problem
Hi, I think the Xailer needs some additional code to fix. On Lazarus it worked. In Xailer it works only with the csDROPDOWNLIST style. With the OnChange event it doesn't work either. After selection cText is out of date. And the proper event depends on the logic applied to the form, I'm using 3 comb...
- Lun Ene 03, 2022 11:45 pm
- Foro: English
- Tema: ComboBox:cText problem
- Respuestas: 3
- Vistas: 610
ComboBox:cText problem
Hi, After selecting an item, TComboBox:cText does not have the correct value. This will happen if you use csDROPDOWN. I have attached a project with the example. troubleshooter: (Are there any different alternatives?) METHOD CbxCloseUp( oSender ) CLASS TForm1 ::LOADFILES(.t.) RETURN Nil //----------...
- Lun Ene 03, 2022 6:26 pm
- Foro: English
- Tema: addControl - how to add control?
- Respuestas: 2
- Vistas: 463
Re: addControl - how to add control?
Thanks for your help. It worked, but I needed to add Parent to avoid the error. // with object oObj:=TDbMaskEdit():New() // --> GETNEWID(0) Error BASE/1004 No exported method: GETNEWID *** The object is NIL or doesn't exists *** with object oObj:=TDbMaskEdit():New(::IInspector:oActiveForm) :SetBound...
- Lun Ene 03, 2022 4:15 pm
- Foro: English
- Tema: addControl - how to add control?
- Respuestas: 2
- Vistas: 463
addControl - how to add control?
Hi, I'm trying to create a plugin to insert controls on the Form. Where am I going wrong? I added the control, but with problems... Control is in edit mode with object oObj:=TDbMaskEdit():New(::IInspector:oActiveForm) // Parent is TFormEditor :SetBounds( 50, 30, 80, 20 ) :cVarname := "oTmp"...