PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → when i have create virtual keyboard project
when i have create virtual keyboard project
Iniciado por guest, 29,ene. 2015 10:33 - 4 respuestas
Publicado el 29,enero 2015 - 10:33
sir
when i have create virtual keyboard project i have create button and i have mention code in click button portion i have used execute process function i have define Global variable fsfunction and i have declare Ex execute process(fsfunction,trtprocedure) then
run the application then show debuging error
Error at line 1 of Click Button4 process.
ExecuteProcess function called.
procedure unknown.

**********************************************

----- Technical Information -----

WL call:
Process of 'Click Button4' (WIN_funKeyboard.Button4), line 1, thread 0
'ExecuteProcess' function, syntax 0

What happened?
procedure unknown.

Error code: 1027
Level: fatal error (EL_FATAL)

Dump of the error of 'wd170vm.dll' module (17.0.287.3).
Identifier of detailed information (.err): 1027
Debugging information:
Fonction (0,0)
Additional Information:
EIT_PILEWL :
Click Button4 (WIN_funKeyboard.Button4), line 1
EIT_DATEHEURE : 29/01/2015 15:02:54
Publicado el 29,enero 2015 - 11:19
what is the content of the variable fsfunction?

It looks like you have something that is not one procedure name in the content of the fsfunction variable
Publicado el 29,enero 2015 - 11:49
sir
i have define different contain like fsfunction
fsfunction1
fsfunction2
fsfunction3
fsfunction4
fsfunction5
that I have define different variable in execute procedure
Publicado el 29,enero 2015 - 12:09
Hi,

executeproces() wants a control and then a proces

executeproces(btn-button, proces). In your case the fsfunction is a variabele. I guess this is why it isnot working

I think what you want is run a procedure with several variabeles?

If so you can try something like this:

Make a newprocedure:

PROCEDURE newprocedure(var1,var2)
Nsomething is int
Nsometing = var1 + var2

RESULT Nsonmething

in your code you can call the procedure, for instance in the on
click of a button:
theresult is int
value1 is int = edt1
value2 is int = edt2

theresult = newprocedure ( value1, valu2 )

edt3 = theresult

regards

Allard
Publicado el 29,enero 2015 - 17:33
Dear Rahul,

There is a Windev (18/19) Component that is an excelent Virtual Keyboard. It is better to tweak this a littlebit then to write your own.

[attachment 1324 Touch.png]

It is very flexible and you can easily remove or add keys almost without programming.

Have a Look at it, you can find it under the Wizard Example Components !

[attachment 1325 Touch2.png]

========
From the description
========
Touchscreen component

This component is used to interface a tactile keyboard that can replace the standard keyboard. This keyboard enables you to use a WinDev application on a computer not equipped with a keyboard.
Component In/Out:

List of Windows (pane)

The WD Touchscreen - Source component proposes the following windows:

WIN_NUMERIC_KEYBOARD Summary: opens a visual keyboard allowing the input on touchscreen
WIN_ALPHANUM_KEYBOARD Summary: opens a visual keyboard allowing the input on touchscreen
WIN_DATE_KEYBOARD Summary: Displays a keyboard adapted to the Date controls by using a "Roll" control template
WIN_ALPHA_KEYBOARD Summary: opens a visual keyboard allowing the input on touchscreen

3 - Accessible Windows

3.1 - Window 'WIN_NUMERIC_KEYBOARD'
Summary: opens a visual keyboard allowing the input on touchscreen
Syntax:
WIN_NUMERIC_KEYBOARD ([])

Parameters:
gsControlName (default value=""): name of the destination edit control (that will contain the text obtained by the clicks on the visual keyboard)
Return value:
None

Example:
OpenChild(WIN_NUMERIC_KEYBOARD, EDT_MyDestinationControl..FullName)



3.2 - Window 'WIN_ALPHANUM_KEYBOARD'
Summary: opens a visual keyboard allowing the input on touchscreen
Syntax:
WIN_ALPHANUM_KEYBOARD ([])

Parameters:
gsControlName (default value=""): name of the destination edit control (that will contain the text obtained by the clicks on the visual keyboard)
Return value:
None

Example:
OpenChild(WIN_ALPHANUM_KEYBOARD, EDT_MyDestinationControl..FullName)

3.3 - Window 'WIN_DATE_KEYBOARD'
Summary: Displays a keyboard adapted to the Date controls by using a "Roll" control template
Syntax:
WIN_DATE_KEYBOARD ()

Parameters:
None
Return value:
None

3.4 - Window 'WIN_ALPHA_KEYBOARD'
Summary: opens a visual keyboard allowing the input on touchscreen
Syntax:
WIN_ALPHA_KEYBOARD ([ [, ]])

Parameters:
gsControlName (default value=""): name of the destination edit control (that will contain the text obtained by the clicks on the visual keyboard)
gbDisplayEnterKey (default value=1):
Return value:
None

Example:
OpenChild(WIN_ALPHA_KEYBOARD, EDT_MyDestinationControl..FullName)


5 - Manipulation of Accessible Elements

To handle a component element (window, etc.) by programming, the element must be handled as any other project element:

- to call a procedure: use the usual syntax:
ComponentProcedure(Param1,Param2)

- to use a class: declare a class type variable:
MyVariable is object ComponentClass
Then, the variable can be used as any other usual object variable.

- to open a window: use the Open function and specify the required parameters.
Open(ComponentWindow [, Param1, Param2])

- to print a report: use the iPrintReport function and specify the required parameters.
iPrintReport(ComponentReport [, Param1, Param2])

Good Programming ! :rp:
Danny