In a VB console application, how do you automatically put a string in the cursor? example:
ask for numbers
user inputs 5 15 five
show error
show back "5 15 five" back to the user so he can change five to 5 or any other integer.
Related
while using the inputNumber field of antd, the data that i enter is changed to less than 2 or 1 without doing anything.
eg: if I enter input as 5, on the next moment it changes to 4, sometimes it goes upto 3 or 2. But this issue occurs randomly only.
Anyone please help
I need the correct value that I enter the input field
I am automating a form using selenium in Internet Explorer 11. There is a field which accepts 5 characters max. When I try to enter 2 characters the cursor still shows in that field and enter data of other field and no error shows for this. It is working fine in other browsers.
E.g Field 1 (max accept 5) e.g sendkeys(12)
field 2 e.g sendkeys(456)
When I run code in field 1 it insert 12456 and insert nothing in next field.
I have a program who does the following:
The user asks from the program to display the Z* tables in an ALV.
Then it selects a table and press the button SELECTTAB which it will run the following command:
**--Display screen with the fields listed for the given table
call screen 200 starting at 10 2 ending at 70 22.
But the program stops with the following error:
CALL SCREEN (not modal) in modal dialog box not allowed
What I want is the following:
1. The user selects a table from the ALV.
2. The program displays a screen with the 1st 100 fields of the table with a checkbox in from. The user selects the desire ones and press OK.
3. The system display the fields as a selection screen, the user fill with the desire values and press OK.
4. Finally, the program display the records in an ALV and the user proceeds with the final actions.
The error occurs in the 2nd step.
Thanks
You posted the same question in the SAP forum, which has an answer : cf https://answers.sap.com/questions/433450/sap-call-screen-not-modal-in-modal-dialog-box-not.html
i want to write a mechanical eng. software to calculate kitchen hood exhaust flow rate and make a report.
firstly, user will check the calculate button, secondly user will check gas or electric and then user will enter the area.
for example, user select two random types(there are 40 types of kitchen hoods) and selects gas and enters areas. i will make calculation from these selections but my problem is: i can't write them to second form with sorting the selected ones.
you can see label 1, label2 etc. i can send the selected box text to labels with if statement:
If CheckBox1.Checked Then
Form2.Label1.Text = Label5.Text
End If
but i don't know which one will selected and i will have 40 types but in report part (form2) i will have maximum 10 types(because of the general layout of kitchen designs). so i want to sort selected ones and add report form without any blank rows.
i'm really sorry for my poor English.
I want a way of loading 5 pictures on every refresh. i have over 300 pictures in the database and i want them to load every 5 picture on form load. and then they sray there for 10sec and then the next 5 loads n keeps loading till al the pictures are loaded then it restarts again from the start.
it should be using a loop. because i have a dynamic way of loading my pictures and textboxes. so how could i jst load 5 pictured and then the next 5 after the first 5 have disappeared. all should happen on one form. maybe even use ashock.. or any other way.
or any other way.
you can do like this, First get all those 300 pictures in the load event and store that in a datatable (using datatable will shrinks the possibility to connect to back end multiple times).Then use a timer in your form and set its interval for 5000 ms(i.e 5 seconds). use a global variable to to track how many pictures are shown, increment it by 5 for every tick event's call(Tick event will get fired when interval assigned by you gets elapsed. - ex: for every 5 seconds). now inside the tick event, get five pictures from the datatable(use that global variable to get the next 5 images). Display those five images by replacing the old ones.and once that global variable reaches 300 again reset it to 0. This cycle will ends only if you stop the timer.
Hope this will give you an idea to accompolish your task.