Add public var to skin class
hello
i'm new with sdk 4
i have a problem with skin class , i'll go creazy ;-)
i wouldlike pass data to my instance skin class , for example i wouldlike get "test"
my skin class :
<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:components="components.*"
>
<fx:Metadata>[HostComponent("spark.components.SkinnableContainer")]</fx:Metadata>
<fx:Script>
<![CDATA[
[Bindable]
public var test :Object;
]]>
</fx:Script>
<s:states>
<s:State name="normal"/>
<s:State name="disabled"/>
</s:states>
<s:Rect height="312" radiusX="10" width="449" x="2.5" y="2.5">
<s:stroke>
<s:SolidColorStroke caps="none" color="#5380D0" joints="miter" miterLimit="4" weight="5"/>
</s:stroke>
<s:fill>
<s:SolidColor color="#AF0000"/>
</s:fill>
</s:Rect>
<s:Label>
</s:Label>
<s:VScrollBar height="200" width="15" x="231" y="98" viewport="{contentGroup}"/>
<components:ScrollingContent1 x="75" y="94" id="contentGroup" mytext="{test}" clipAndEnableScrolling="true" width="156" height="204"/>
</s:Skin>
from my main app i try to pass data to "test" in skin class:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:d="http://ns.adobe.com/fxg/2008/dt"
xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"
backgroundColor="#FFFFFF" height="600" preloaderChromeColor="#FFFFFF" width="800"
creationComplete="onInit()">
<s:SkinnableContainer id="mySkinContainer" test="bruno" skinClass="components.ScrollPanel1" x="179" y="65"/>
it doesn't work , i tried another thing , but never good result.
thank for your help
You've defined test on the skin, not on the component. You can follow our
patterns of proxying properties to the skin. Just about any property on
our SkinnableComponents should be an accurate model.
Or cheat and try:
<s:SkinnableContainer id="mySkinContainer"
skinChanged="mySkinContainer.skin['test'] = bruno"
Similar Messages
-
Binding node value from public var
Hi,
I am developing an interface between an axis web service and flex.
I must create a custom soap message, so I have define:
CDATA
[Bindable] public var name:String = "PRUEBAS";
<mx:request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:loc="http://XXXXXXXXX/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
format="xml">
<loc:DarWeb soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="loc:Elem" xmlns:dat="http://XXXXXX">
<original xsi:type="xsd:string">{name}</original> IT DOES NOT TAKE THE VALUE OF THE BINDING VAR
</in0>
Please, someone who knows how to get the value of the var?
PD: In compilation time I have the next warning: "data binding will not be able to detect assignments to ..."
Thanks in advance
FranThanks for your reply williams. I will try to explain better.
I have an action script class called Name with the next attribs:
public class Name
[Bindable] public var name:String;
[Bindable] public var ape1:String;
[Bindable] public var cp:String;
public function Name()
//nothing initialize
In my mxml I have
<mx:Script>
<![CDATA[
[Bindable] public var nombre:Name = new Name();
]]>
</mx:Script>
And the last code that are involve in my problem is the next one:
<mx:WebService id="webService" wsdl="XXXX (local wsdl)" showBusyCursor="true">
<mx:operation name="getNames"
resultFormat="e4x"
result="handleResponse(event);"
fault="handleFault(event);">
<mx:request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:name="http://XXXXXXX"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
format="xml">
<name:getNames soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in1 xsi:type="name:Name" xmlns:name="http://XXXXXX">
<name xsi:type="xsd:string"> {nombre.name}</name><!-- value from class-->
<ape1 xsi:type="xsd:string">{nombre.ape1}</ape1><!-- value from class-->
<cp xsi:type="xsd:string">{nombre.cp}</cp><!-- value from class-->
</in1>
</name:getNames>
</mx:request>
</mx:operation>
</mx:WebService>
I can not retrieve class attribute´s values, so the xml nodes are null.
Thanks a lot for those who reply.
Fran -
Revision: 5465
Author: [email protected]
Date: 2009-03-20 11:52:56 -0700 (Fri, 20 Mar 2009)
Log Message:
Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains. Jim ok'ed the addition of the new FxNumericStepperTextInputSkin.mxml class into the spark.skins and wireframe packaged.
SDK-18275, SDK-19849
Reviewer: Glenn
Checkintests: Pass
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18275
http://bugs.adobe.com/jira/browse/SDK-19849
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperSkin.mxml
flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperSkin.mxml
Added Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperTextInputSkin .mxml
flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperTextInputSkin. mxmlRevision: 5465
Author: [email protected]
Date: 2009-03-20 11:52:56 -0700 (Fri, 20 Mar 2009)
Log Message:
Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains. Jim ok'ed the addition of the new FxNumericStepperTextInputSkin.mxml class into the spark.skins and wireframe packaged.
SDK-18275, SDK-19849
Reviewer: Glenn
Checkintests: Pass
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18275
http://bugs.adobe.com/jira/browse/SDK-19849
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperSkin.mxml
flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperSkin.mxml
Added Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperTextInputSkin .mxml
flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperTextInputSkin. mxml -
Hello!
I have some problem with vars. The situation is the same I wrote here Re: External swf
I have public var (for example ZZZ) in code of MAIN.swf (main class is Main.as), and I want to access it from code of loaded EXTERNAL.swf.
But nothing helps, flash says:
there is no ZZZ in code of Main
there is no ZZZ on stage.root
there is no ZZZ in any parents.
But if a have ZZZ in code of EXTERNAL, and want to access it from MAIN, (the reverse situation), ZZZ is easily found.Worked that:
I should pass to EXTERNAL
this
as exact pass, and then
ExactPass.ZZZ
would be found
in External:
public var GAME_MAIN_CODE:*;
in Main:
EXTERNAL.GAME_MAIN_CODE = this;
Thank you for help! -
How to pass Data to Spark Skin Class
Hi,
I created a cosum skin to my spark component, and I wish to add another mode for that skin, how can I pass mode id to my skin class?maybe this will help
http://tv.adobe.com/watch/flex-in-a-week-day-5/creating-custom-skin-properties/ -
Cannot reference public instance method in class.
Hi,
I have a situation where when I open a class file in Oracle's Java Developer tool JDeveloper and I can see the following public method in the public class oracle.apps.fnd.wf.worklist.webui.NtfUtil :
public java.lang.String isWorkflowAdminRole(oracle.apps.fnd.framework.webui.OAPageContext param1)
The problem I have is that I cannot reference this method in my class even though it's a public method.
From my class, I instantiate an instance of the NtfUtil class using
NtfUtil ntf = new NtfUtil();
When I try the following, the method is not found and I get a compilation error :
String isWFAdmin = ntf.isWorkflowAdminRole(pageContext);
I can however see other public methods in the class for example :
public boolean isPerformer(java.lang.String param1, java.lang.String param2)
In fact I can only see about 30% of the public methods in the class. The source file is not available.
I am trying to find out why I can see some public methods in the class and not others. From within the editor it appears that there is no difference between the classes.
Many thanks in anticipation of any assistance.
Hopefully this question is not too stupid.
DavidApologies, this would have been a sensible thing to add to the message.....
The section of code erroring is the final line :
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OADBTransaction oadbt = am.getOADBTransaction();
oracle.apps.fnd.wf.worklist.webui.NtfUtil ntfUtil = new oracle.apps.fnd.wf.worklist.webui.NtfUtil(am, oadbt);
String isWFAdmin = (String)ntfUtil.isWorkflowAdminRole(pageContext);
Error is :
Error(53,44): method isWorkflowAdminRole(oracle.apps.fnd.framework.webui.OAPageContext) not found in class oracle.apps.fnd.wf.worklist.webui.NtfUtil -
We have an issue as follows ::
The textfield of each button has to take the category names of an xml file...
So we needs three variables that they take the category text from an xml and then we need to put this text to the textfield
But the textfields of each button are on other pages and they are not in the public one..so we need a public / public variables that are visible everywhere..
we searched and we found that in each variabkle you add something like (public var i = cat;) but in order to make a variable public i need to import a package {public var butext:String;} ?that i cant import because i am getting (syntax error package is unexpected)
The package is {public var butext:String;} we are using flash cs4 and action script 3
Many Thanks
Ivanhi,
public var in AS3 only for using a Package......
So you need to create a package.......
do you want example for package?
Regards
Kamal -
How to use Public variables in other classes
Please have a look at the program.
In the below program, i want to use the variable 'name' in the class cl_airplane1 implementation under the method aircraft to display 'BRITISH AIRWAYS' which i am passing through the object AIR1.
The variable 'name' is declared under public section of the class cl_airplane. I do not want to use inheritance. Can i do this.
*& CLASS DEFINITION
CLASS cl_airplane DEFINITION.
PUBLIC SECTION.
METHODS set IMPORTING im_name TYPE string
im_weight TYPE i.
METHODS display.
DATA name TYPE string.
PRIVATE SECTION.
DATA weight TYPE i.
ENDCLASS.
*& CLASS IMPLEMENTATION
CLASS cl_airplane IMPLEMENTATION.
*******METHOD SET*****************
METHOD set.
name = im_name
weight = im_weight.
ENDMETHOD.
*******METHOD DISPLAY**************
METHOD display.
WRITE : / ' NAME :', name, ' AND ', 'WEIGHT:', weight.
ENDMETHOD.
ENDCLASS.
*& END OF CLASS CL_AIRPLANE IMPLEMENTATION
*& CLASS DEFINITION-CL_AIRPLANE1
CLASS cl_airplane1 DEFINITION .
PUBLIC SECTION.
METHODS : aircraft IMPORTING im_name1 TYPE string,
dis1.
ENDCLASS.
*& CLASS IMPLEMENTATION
CLASS cl_airplane1 IMPLEMENTATION.
*******METHOD AIRCRAFT
METHOD aircraft.
ENDMETHOD.
********METHOD DIS1
METHOD dis1.
ENDMETHOD.
ENDCLASS.
**********CREATING REFERENCE VARIABLES
DATA : air TYPE REF TO cl_airplane.
DATA : air1 TYPE REF TO cl_airplane1.
START-OF-SELECTION.
***CREATING AN OBJECT OF THE CLASS CL_AIRPLANE
CREATE OBJECT air .
CALL METHOD air->set
EXPORTING
im_name = 'Lufthansa'
im_weight = '1000'.
CALL METHOD air->display.
***CREATING AN OBJECT OF THE CLASS CL_AIRPLANE1
CREATE OBJECT air1.
CALL METHOD air1->aircraft
EXPORTING
im_name1 = 'BRITISH AIRWAYS'.
CALL METHOD air1->dis1.
<removed_by_moderator>
Thanks.
Edited by: Julius Bussche on Jul 30, 2008 3:13 PMHere is ur solution:
*& Report Z157780_PRG1
REPORT z157780_prg1.
*& CLASS DEFINITION
CLASS cl_airplane DEFINITION.
PUBLIC SECTION.
METHODS set IMPORTING im_name TYPE string
im_weight TYPE i.
METHODS display.
DATA name TYPE string.
PRIVATE SECTION.
DATA weight TYPE i.
ENDCLASS. "
*& CLASS IMPLEMENTATION
CLASS cl_airplane IMPLEMENTATION.
********METHOD SET******************
METHOD set.
name = im_name.
weight = im_weight.
ENDMETHOD. "set
********METHOD DISPLAY***************
METHOD display.
WRITE : / ' NAME :', name, ' AND ', 'WEIGHT:', weight.
ENDMETHOD. "display
ENDCLASS. "
*& END OF CLASS CL_AIRPLANE IMPLEMENTATION
*& CLASS DEFINITION-CL_AIRPLANE1
CLASS cl_airplane1 DEFINITION INHERITING FROM cl_airplane.
PUBLIC SECTION.
METHODS : aircraft IMPORTING im_name1 TYPE string,
dis1.
ENDCLASS. "
*& CLASS IMPLEMENTATION
CLASS cl_airplane1 IMPLEMENTATION.
*******METHOD AIRCRAFT
METHOD aircraft.
name = im_name1.
WRITE : / ' NAME :', name.
ENDMETHOD. "aircraft
********METHOD DIS1
METHOD dis1.
ENDMETHOD. "dis1
ENDCLASS. "
**********CREATING REFERENCE VARIABLES
DATA : air TYPE REF TO cl_airplane.
DATA : air1 TYPE REF TO cl_airplane1.
START-OF-SELECTION.
***CREATING AN OBJECT OF THE CLASS CL_AIRPLANE
CREATE OBJECT air .
CALL METHOD air->set
EXPORTING
im_name = 'Lufthansa'
im_weight = '1000'.
CALL METHOD air->display.
***CREATING AN OBJECT OF THE CLASS CL_AIRPLANE1
CREATE OBJECT air1.
CALL METHOD air1->aircraft
EXPORTING
im_name1 = 'BRITISH AIRWAYS'.
CALL METHOD air1->dis1.
Hope That Helps
Anirban M. -
Revision: 12883
Revision: 12883
Author: [email protected]
Date: 2009-12-12 15:53:50 -0800 (Sat, 12 Dec 2009)
Log Message:
Remove the skin classes from the halo theme project to avoid redundancy with the airframework/framework swcs.
QE notes: No
Doc notes: No
Bugs: SDK-24293
Reviewer: Glenn
Tests run: Checkintests, smattering of Halo and AIR mustella tests
Is noteworthy for integration: Yes
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24293
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
flex/sdk/trunk/frameworks/projects/halo/build.xml
Added Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/WindowBackground.as
Removed Paths:
flex/sdk/trunk/frameworks/projects/halo/assets/
flex/sdk/trunk/frameworks/projects/halo/src/HaloClasses.as
flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/ -
How to browse example skin class files?
Maybe I'm missing something.
I went ahead and read through Joan Lafferty's document "Differences between the Flex 3 and Flex 4 beta" and it said the best way
to learn how to do custom skinning is to take one of the default skin classes and copy it, make some small mods, etc.
So I'm trying to do this but I'm probably not looking in the right place. In my Flashbuilder project folder I'm going down to the SWC packages
and double-clicking to open an example, but it says the file isn't found. Where should I be looking for these examples?
I understand that the new architecture gives designers freedom to design their skins as they wish, but all I'm trying to do is to change the
rollover highlight color ( or turn it on, really ) for a spark List component.
Am I looking in the wrong place for this??
thanksif you are looking for the mxml skin files you can find them on this path
C:\Program Files\Adobe\Flash Builder Beta\sdks\4.0.0\frameworks\projects\flex4\src\spark\skins\default
they idea is to copy that a skin file into your project, preferably a subfolder like src\skins
i.e. ButtonSkin.mxml
you then attach the skin to the component's skin property - skinClass="skins\ButtonSkin.mxml"
hope this helps.
David. -
About the Skin class and all the subclasses...
To test and get to know the workflow of catalyst & fb I've started to create a custom video player. Dragging a psd through catalyst work the magic then port it to flex builder.
Everything fine and well after some playing arround in catalyst (nontheless the lack of a togglebutton for now but that's neglectable) I've got it ported to flash builder.
In fb; I am using a spark VideoPlayer instance and skin it with a VideoPlayerSkin. Here arrises the first problem; it seems the VideoPlayer mxml tag doesn't recognizes the mxml file extending VideoPlayerSkin.
Ok I can bypass this using skinClass={CustomVideoSkin} (CustomVideoSkin is the class name of my actual VideoPlayerSkin).
Now when I look at the button skins catalyst exported (which I made in catalyst) I see the usage of the <s:Skin> class where all states are defined and transitions if there are anny. This get's me kinda confused couse it seems there is for each component an individual skin class but using the <s:Skin> compared to ex: <default:VideoPlayerScrubBarSkin> is completely different.
In the case of using the above example (VideoPlayerScrubBarSkin) I need to extend this to VideoPlayerScrubBarSkin this to assign the face and the track.
I'm getting kinda lost in using what and when and where and more how...
Would appreciate some clarification on this.
Regards, BartHey Bart,
I couldn't really tell if you were running into a Catalyst issue or a Flex SDK issue (or both). From the Flex SDK perspective, when you skin any component, you create a new MXML class rooted with <s:Skin> (this really means the new file extends the Skin class).
Here's a short and simple custom skin for the Video Player:
<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo">
<!-- states -->
<s:states>
<s:State name="connectionError" stateGroups="connectionErrorStates, normalStates" />
<s:State name="disabled" stateGroups="disabledStates, normalStates"/>
<s:State name="disconnected" stateGroups="disconnectedStates, normalStates"/>
<s:State name="loading" stateGroups="loadingStates, normalStates"/>
<s:State name="playing" stateGroups="playingStates, normalStates"/>
<s:State name="stopped" stateGroups="stoppedStates, normalStates"/>
<s:State name="fullScreenConnectionError" stateGroups="connectionErrorStates, fullScreenStates"/>
<s:State name="fullScreenDisabled" stateGroups="disabledStates, fullScreenStates"/>
<s:State name="fullScreenDisconnected" stateGroups="disconnectedStates, fullScreenStates"/>
<s:State name="fullScreenLoading" stateGroups="loadingStates, fullScreenStates"/>
<s:State name="fullScreenPlaying" stateGroups="playingStates, fullScreenStates"/>
<s:State name="fullScreenStopped" stateGroups="stoppedStates, fullScreenStates"/>
</s:states>
<s:VideoElement id="videoElement" top="0" bottom="24" />
<s:Group height="24" bottom="0">
<s:layout>
<s:HorizontalLayout />
</s:layout>
<s:Button id="playButton" label="Play Me" />
<s:Button id="pauseButton" label="Pause Me" />
<s:VideoPlayerScrubBar id="scrubBar" />
</s:Group>
</s:Skin>
Each component has a skin. By default, VideoPlayerScrubBar uses the default skin we ship with the component. To skin that sub-part, you'll need to create a new Skin file, something, like:
<s:VideoPlayerScrubBar id="scrubBar" skinClass="CustomVideoPlayerScrubBarSkin" />
This new skin file can be done inline (with Declarations), but it's reccomended just to create a new MXML file for it.
Let me know if you've got any more questions about this process.
HTH,
Ryan -
Revision: 13724
Revision: 13724
Author: [email protected]
Date: 2010-01-22 15:17:16 -0800 (Fri, 22 Jan 2010)
Log Message:
Add fixes to FLV related classes to support DRM protected contents
Some minor fixes to FLV related classes
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVParser.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTag.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTagAudio.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTagScriptDataObject.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/flv/FLVTagVideo.asThanks Erik,
If nothing else, this huge list of updates and fixes, shows clearly that the Logic Dev team is working hard on fixing and improving LPX to a major degree.... and from the list of fixes done.. show they do read the bug reports submitted!
As an aside....
I recall how all the 'naysayers' prior to LPX (and in some cases, since...) were proclaiming how Logic was dead, the team was being disbanded, we won't see any further development, the Dev team doesn't listen or care... and so on....... I wonder where those people are now? -
Add another 'Gen. Valn Class' .
Hi Guys,
I always appreciate your help.
I just wonder how i do setting to add another 'Gen. Valn Class' .
Basically, i controled some IMG menu like below.
Financial Supply > Treasury and Risk Manager > Transaction Manager > General Setting > Accounting > .
Financial Supply > Treasury and Risk Manager > Transaction Manager > General Setting > Money market > .
But, i couldn't find the menu to put another kind of 'Gen. Valn Class' on second tab 'Administr' in TM_53.
Could you get me any specific commend?This has been disucuss in detail in other places and we are getting pretty sure it has nothing to do with the router and has more to do with your AirPort firmware.
Apple should be able to fix it with an update - so don't worry about your brand new SRX 400 - it should we working great with your Mac soon: it isn't even the problem. -
In any array, you get the length of it by calling "MyArray.length". length is a public variable, but it cannot be set. If you try:
String[] str = { "ss" };
str.length = 2;
you'll get an error saying you can't change a final variable.
So my question is, how to I make a variable final, but not set it until initialization?but i meant, if it's final, why can it be set at all
after compile?How final is used, from the Java tutorial:
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/finalVariables.html -
How to add button in ALV report (Class method )?
Hello experts,
I have developed one ALV report using classes.
I want to add one more button on the report like already is there named DISPLQUA
How ca i do that here?
Following the code of CLASS definition & implimentation
CLASS lcl_handle_events DEFINITION.
PUBLIC SECTION.
METHODS:
handle_on_user_command FOR EVENT added_function OF cl_salv_events
IMPORTING e_salv_function.
ENDCLASS. "lcl_handle_events DEFINITION
CLASS lcl_handle_events IMPLEMENTATION
CLASS lcl_handle_events IMPLEMENTATION.
METHOD handle_on_user_command.
CASE e_salv_function.
WHEN 'DISPLQUA'.
PERFORM show_quant_record.
WHEN 'DISPQM03'. " Here i want to add button
PERFORM display_quality_notification.
WHEN OTHERS.
ENDCASE.
ENDMETHOD. "handle_on_user_command
ENDCLASS. "lcl_handle_events IMPLEMENTATIONHI Ronny.
Code snippet for reference.
CLASS LCL_EVENT_HANDLER DEFINITION .
PUBLIC SECTION.
METHODS :
*--Toolbar control
HANDLE_TOOLBAR FOR EVENT TOOLBAR
OF CL_GUI_ALV_GRID IMPORTING E_OBJECT
E_INTERACTIVE,
ENDCLASS
CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
*--handle toolbar
METHOD HANDLE_TOOLBAR.
* append a separator to normal toolbar
CLEAR G_TOOLBAR.
G_TOOLBAR-BUTN_TYPE = 3.
APPEND G_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
CLEAR G_TOOLBAR.
G_TOOLBAR-FUNCTION = 'SAVE'.
G_TOOLBAR-ICON = ICON_SYSTEM_SAVE.
G_TOOLBAR-BUTN_TYPE = 0.
G_TOOLBAR-QUICKINFO = 'Save the Customer'(203).
APPEND G_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
ENDMETHOD. "HANDLE_TOOLBAR
Hope this helps.
Gary.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 5:41 PM
Maybe you are looking for
-
Add new fields in Additional data tab B in Inquiry,
HI, I want to add additional new fields in inquiry on the addition tab -B, like Architect Name Contractor name followed By referenced by like this, and want to capture the report on these fields plz guide thanks in advace
-
I was scrolling down and I think I pushed the scroll wheel down then everything went small . It works fine on google chrome and internet explorer but they are both sooooo slow !
-
Hi, we have a Cisco ASA 5510: * Software Version 7.2(3); * License Security Plus I would like to know if this firewall support SHA-256 (VPN IPsec)
-
hi, I'm a new user to ARD 3, I have it installed on my iMac core duo and use it to control/observe 2 machines in my home, my mothers and a freinds via internet. All of the machines are running 10.4.6 with the latest clients installed and the all work
-
May I switch the order from stand shipping to in-store pick up?
I make an order of iphone6plus today in stand shipping way. Is it possible to change it to a in-store pick-up? Will it be much quicker than the shipping way? Has anybody been through the similar situation? Thank you in advance.