If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > ObjectPal: action

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-03, 06:53
Nikolaus Nikolaus is offline
Registered User
 
Join Date: Sep 2003
Location: Rosenheim / Germany
Posts: 2
ObjectPal: action

Hello,

the down-mentioned program is ok, but only the last 2 lines don't work.
Is it possible that ActionEditCommands don't work in Forms or do I have
another problem ?

Thanks for your help

Klaus



method init(var eventInfo Event)
Var
siteForm Form
endVar

if siteForm.attach("Formular : KundForm.fsl") then
if siteForm.isVisible() then
siteForm.moveTo()
else
siteForm.show()
endif
else
siteForm.open("KundForm.fsl")
endif

siteForm.action(DataBegin )
siteForm.action(DataFastForward)

siteForm.action(FieldLast)
siteForm.action(FieldUp )

siteForm.action(DataBeginEdit)

siteForm.action(SelectSelectAll)

siteForm.action(EditDeleteSelection)
siteForm.action(EditPaste)

endMethod
Reply With Quote
  #2 (permalink)  
Old 10-09-03, 13:19
Shores Shores is offline
Registered User
 
Join Date: Aug 2003
Location: Bologna - Italy
Posts: 209
You can try to send the action directly to the field you need:

Instead of this:

siteForm.action(FieldLast)
siteForm.action(FieldUp )

siteForm.action(DataBeginEdit)

siteForm.action(SelectSelectAll)

siteForm.action(EditDeleteSelection)
siteForm.action(EditPaste)

Try this:

siteForm.nameOfTheField.action(DataBeginEdit)
siteForm.nameOfTheField.action(SelectSelectAll)
siteForm.nameOfTheField.action(EditDeleteSelection )
siteForm.nameOfTheField.action(EditPaste)

Bye!
__________________
The only failure is not trying to do it.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On