Questions tagged [command-behaviors]
5 questions
2
votes
2 answers
Show only 2 commands in the menu bar in Lwuit or Native J2ME
I added 2 commands to my form in lwuit.
form.addCommand(test);
form.setBackCommand(exitCommand);
I changed the command behavior to COMMAND_BEHAVIOR_NATIVE, so i can show the status, and my commands appear at the bottom too, but they appear exit at…

Reham
- 1,916
- 6
- 21
- 45
1
vote
1 answer
How can I get the different object between two two element datasets?
If I have these two files containing the following datasets:
OldFile:
"CanonicalName","LastSet"
"CONTOSO.com/NA/US/OU1/Users/Active/Test User","2019-07-02 14:14:44"
"CONTOSO.com/NA/US/OU1/Users/Active/User One","2019-07-02…

dragonspeed
- 255
- 2
- 13
1
vote
1 answer
Command Behavior Attachments Arguments
I have implemented the code in this article: http://wblo.gs/YvF. Everything works as expected but I don't know how to get access to the Arguments passed into the event handler when the event fires. I know there is the command parameter but how do I…

Lukasz
- 8,710
- 12
- 44
- 72
0
votes
1 answer
OracleCommand does not always respect SchemaOnly
For SqlClient, I am able to specify CommandBehavior.SchemaOnly for a lot of queries to get the query result schema. However, when use the same command behavior for Oracle, OracleClient seems to execute the query instead of obtaining the schema only.…

katrinawyh
- 23
- 3
0
votes
2 answers
return execute reader result with close connection command behavior, order of excecution
It's a very simple question..I want to know based on the code below..Is the connection closed and then return estatement will be executed or the return estatement will be executed without closing the connection?..because I set the CommandBehavior to…

Paridokht
- 1,374
- 6
- 20
- 45