general information about "sc_btn_......" buttons needed!!!

hi all from france!!

i’m studying the sc_btn_… buttons in SC4, but informations are tricky about this stuff !!!

here is my “knowledge” about that:
4 buttons are available:
sc_btn_insert… to be used ONLY(???) onvalidate events
sc_btn_new…to be used ONLY(???) OnLoad
sc_btn_update…to be used ONLY(???) OnLoad
sc_btn_delete… ???

exemple of sc_btn… use:
if ((sc_btn_insert)){
sc_message(“Insert record successful”);
}

So…
-could you confirm this?
-what the name (and the associated event to use) of the (PENCIL button), used to edit an existing record in a “editable grid view” form ?
-what the name (and the associated event to use) of the (DOUBLE ARROWS button), used to save an modified record in a “editable grid view” form ?
-what the name (and the associated event to use) of the (RED CROSS ON A PAGE button), used to cancel modifications on an existing record in a “editable grid view” form ?
-does the NEXT,PREVIOUS,LAST, FIRST buttons have a name in a “editable grid view” form ?

AND A BONUS QUESTION:
we can hide a field with the sc_field_display macro…
but using this one on a a “editable grid view” form DOESNT hide the associated LABEL (title of the column…)
HOW can I also hide the label of a field???

best regards!!

Re: general information about “sc_btn_…” buttons needed!!!

Hello!

Did you checked the Webhelp from the website ?

regards.

Re: general information about “sc_btn_…” buttons needed!!!

hi max!!!

yes i checked but I did’nt found what i need in SC4 !!

here is an image of what i want to do:
http://imageshack.us/f/849/13033869.jpg

I want to execute some code when I click on the ‘edit button’… of my detail form (a ‘multiple record’ form)

I also want to mask this “SEQ” column…

best regards!

Re: general information about “sc_btn_…” buttons needed!!!

Hi,

This button in Editable Grid you cant edit, but you can create a new PHP Button, but it wont come like this in Editable Grid ( with every record) it will appear on the top/bottom toolbar.