Re: Tab in datagrid

2009-06-18 Thread Trevor DeVore

On Jun 17, 2009, at 11:04 PM, Hershel Fisch wrote:


Sorry was off track for a few days.


So are you using your own editable field or the built-in editable

The built-in. How do make my own editable fld?

field? The built-in editable field traps CloseField and doesn't send
it on.

I'm sorry for not explaining it properly.
Here is the scenario, created a dg, flds editable (enabled) I put a
closeFieldEditor and there was an error in the script so the field  
stayed

selected and the tab key didn't trigger or rather out cursor from the
selected fld and by exiting the fld via mouse it didn't unselect the  
fld

even the other fld got selected.


Thanks for the additional info. That should be fixed in the version I  
linked to two days ago on this list.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-18 Thread Hershel Fisch
Ok, thanks
Hershel


On 6/18/09 2:08 AM, Trevor DeVore li...@mangomultimedia.com wrote:

 On Jun 17, 2009, at 11:04 PM, Hershel Fisch wrote:
 
 Sorry was off track for a few days.
 
 So are you using your own editable field or the built-in editable
 The built-in. How do make my own editable fld?
 field? The built-in editable field traps CloseField and doesn't send
 it on.
 I'm sorry for not explaining it properly.
 Here is the scenario, created a dg, flds editable (enabled) I put a
 closeFieldEditor and there was an error in the script so the field
 stayed
 selected and the tab key didn't trigger or rather out cursor from the
 selected fld and by exiting the fld via mouse it didn't unselect the
 fld
 even the other fld got selected.
 
 Thanks for the additional info. That should be fixed in the version I
 linked to two days ago on this list.
 
 Regards,


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-17 Thread Hershel Fisch
Sorry was off track for a few days.
 
 So are you using your own editable field or the built-in editable
The built-in. How do make my own editable fld?
 field? The built-in editable field traps CloseField and doesn't send
 it on.
I'm sorry for not explaining it properly.
Here is the scenario, created a dg, flds editable (enabled) I put a
closeFieldEditor and there was an error in the script so the field stayed
selected and the tab key didn't trigger or rather out cursor from the
selected fld and by exiting the fld via mouse it didn't unselect the fld
even the other fld got selected.

Thank, Hershel
 
 Regards,


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-15 Thread Trevor DeVore

On Jun 14, 2009, at 8:19 PM, Hershel Fisch wrote:


So are you using your own editable field or the built-in editable
field? The built-in editable field traps CloseField and doesn't send
it on.
The build in editable flds and it traps, but if the code isn't  
correct then

it remains selected and I cant unselect it.=


What code isn't correct though? If you are using the built-in editable  
field then closefield isn't passed. Are you using a frontscript that  
has errors in the closeField handler?


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-14 Thread Hershel Fisch



 when I go to another fld which they work.
 
 So are you using your own editable field or the built-in editable
 field? The built-in editable field traps CloseField and doesn't send
 it on.
The build in editable flds and it traps, but if the code isn't correct then
it remains selected and I cant unselect it.=
Thanks, Hershel
 
 Regards,


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-12 Thread Trevor DeVore

On Jun 10, 2009, at 9:48 PM, Hershel Fisch wrote:

Hi, didn't get it, I have a dgTable, editable flds with e.g.  
CloseField in
the grp, if for some reason the closeFld didn't work meaning there  
is a
problem with the script then the doesn't close out it remain  
selected even

when I go to another fld which they work.


So are you using your own editable field or the built-in editable  
field? The built-in editable field traps CloseField and doesn't send  
it on.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-11 Thread Hershel Fisch
Very good thanks, Hershel


On 6/10/09 5:29 PM, Josep jmye...@mac.com wrote:

 
 Hi,
 
 Try this.
 
 on mouseUp  
put the dgNumberOfLines of group dg_detalle into tFilas
 
if tFilas10 then
   put 0  tFilas+1 into tLinea
else
   put tFilas+1 into tLinea
end if
 
dispatch addLine to group dg_detalle with tLinea
dispatch ResetList to group dg_detalle
 end mouseUp
 
 I use this to add rows manually, I put the row line but you can change it,
 for each col put one tab.
 
 put col1 value  tab  col2 value  tab  col3 value into tLinea
 
 I hope help you.
 
 Salut,
 Josep


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-10 Thread Trevor DeVore

On Jun 9, 2009, at 9:29 PM, Hershel Fisch wrote:

Question, when something goes wrong with the closefield function  
then the
fld that's selected doesn't close and looses functionality, how  
should this

get back to normal?


Did the editing field stick around? Select it by resting the cursor  
over the field and executing 'select the mouseControl' in the message  
box. Once it is selected just delete it.


I didn't have the appropriate try/catch block around some of the code  
but I've fixed this so it won't happen in the next release.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-10 Thread Hershel Fisch
Hi, didn't get it, I have a dgTable, editable flds with e.g. CloseField in
the grp, if for some reason the closeFld didn't work meaning there is a
problem with the script then the doesn't close out it remain selected even
when I go to another fld which they work.

Also another question,
I have e.g. A dgTable of 5 lines, 3 have contents now the 4th line is not
editable how do I create another line?
also how do I bring up another line lets say the dg has 5 lines and all are
full, how do create and or bring up a 6th line and so froth?

Thanks a mill., Hershel



On 6/10/09 5:35 AM, Trevor DeVore li...@mangomultimedia.com wrote:

 On Jun 9, 2009, at 9:29 PM, Hershel Fisch wrote:
 
 Question, when something goes wrong with the closefield function
 then the
 fld that's selected doesn't close and looses functionality, how
 should this
 get back to normal?
 
 Did the editing field stick around? Select it by resting the cursor
 over the field and executing 'select the mouseControl' in the message
 box. Once it is selected just delete it.
 
 I didn't have the appropriate try/catch block around some of the code
 but I've fixed this so it won't happen in the next release.
 
 Regards,


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-10 Thread Josep

Hi,

Try this.

on mouseUp  
   put the dgNumberOfLines of group dg_detalle into tFilas

   if tFilas10 then
  put 0  tFilas+1 into tLinea
   else
  put tFilas+1 into tLinea
   end if

   dispatch addLine to group dg_detalle with tLinea
   dispatch ResetList to group dg_detalle
end mouseUp

I use this to add rows manually, I put the row line but you can change it,
for each col put one tab.

put col1 value  tab  col2 value  tab  col3 value into tLinea

I hope help you.

Salut,
Josep
-- 
View this message in context: 
http://www.nabble.com/Tab-in-datagrid-tp23861351p23973440.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-09 Thread Hershel Fisch
Question, when something goes wrong with the closefield function then the
fld that's selected doesn't close and looses functionality, how should this
get back to normal?
Thanks, Hershel
 on closeFieldEditor pFieldEditor
  put the dgColumn of the target into tC
  
 end closeFieldEditor
 
 Regards,
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-05 Thread Trevor DeVore

On Jun 4, 2009, at 10:43 PM, Hershel Fisch wrote:



Let me know if this helps.

Yes but I have a bit difficulties understanding exactly how it works.

I would write my script in the group and not in each and every column
something like this..

On closeFieldEditor pFieldEditor
 put pColumnName into tC
 revExecuteSQL databaseId, INSERT INTO tableName  tC  VALUE  \
 the text of pFieldEditor.
End closeFieldEditor


There is no pColumnName parameter but you can get the column that the  
target field is associated with using the dgColumn property.


on closeFieldEditor pFieldEditor
put the dgColumn of the target into tC

end closeFieldEditor

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-05 Thread Hershel Fisch
Thanks a million, that's exactly what I needed.
Hershel


On 6/5/09 5:47 AM, Trevor DeVore li...@mangomultimedia.com wrote:

 On Jun 4, 2009, at 10:43 PM, Hershel Fisch wrote:
 
 Let me know if this helps.
 Yes but I have a bit difficulties understanding exactly how it works.
 
 I would write my script in the group and not in each and every column
 something like this..
 
 On closeFieldEditor pFieldEditor
  put pColumnName into tC
  revExecuteSQL databaseId, INSERT INTO tableName  tC  VALUE  \
  the text of pFieldEditor.
 End closeFieldEditor
 
 There is no pColumnName parameter but you can get the column that the
 target field is associated with using the dgColumn property.
 
 on closeFieldEditor pFieldEditor
  put the dgColumn of the target into tC
  
 end closeFieldEditor
 
 Regards,


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-04 Thread Trevor DeVore

On Jun 3, 2009, at 10:22 PM, Hershel Fisch wrote:

Question, How do I achieve a fld identification e.g. Line 3 fld 4 or  
a name

or whatever  via the tab key and then by leaving that particular fld
triggering a closeField?


Hi Hershel,

I'm not sure I understand what information you need. Can you describe  
the entire process of what you want to have happen?


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-04 Thread Hershel Fisch
Ok, thanks, 
I have a populated dg editEnabled now by changing the contents of a cell
(moving via tab key because by a mouse click it will give me a fld identity
when put a mouseUp in the dgGroup) I need to trigger a closeField to
activate a sql query to update the database.
Hershel


On 6/4/09 9:18 AM, Trevor DeVore li...@mangomultimedia.com wrote:

 On Jun 3, 2009, at 10:22 PM, Hershel Fisch wrote:
 
 Question, How do I achieve a fld identification e.g. Line 3 fld 4 or
 a name
 or whatever  via the tab key and then by leaving that particular fld
 triggering a closeField?
 
 Hi Hershel,
 
 I'm not sure I understand what information you need. Can you describe
 the entire process of what you want to have happen?
 
 Regards,


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-04 Thread Trevor DeVore

On Jun 4, 2009, at 3:51 PM, Hershel Fisch wrote:


Ok, thanks,
I have a populated dg editEnabled now by changing the contents of a  
cell
(moving via tab key because by a mouse click it will give me a fld  
identity

when put a mouseUp in the dgGroup) I need to trigger a closeField to
activate a sql query to update the database


I just uploaded some new lessons about editing this morning. This  
lessons talks about the messages and commands that are used when  
editing cell contents. It also links to the API docs that I updated  
with info on the field editing commands.


Basically you want to handle CloseFieldEditor for saving.

How Do I Open a Table Cell For Editing?: http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/4668-How-Do-I-Open-a-Table-Cell-For-Editing- 



Let me know if this helps.

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tab in datagrid

2009-06-04 Thread Hershel Fisch

 
 Let me know if this helps.
Yes but I have a bit difficulties understanding exactly how it works.

I would write my script in the group and not in each and every column
something like this..

On closeFieldEditor pFieldEditor
  put pColumnName into tC
  revExecuteSQL databaseId, INSERT INTO tableName  tC  VALUE  \
  the text of pFieldEditor.
End closeFieldEditor
 
 Regards,
Thanks, Hershel


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution