Restrict the height of the xcelsius component
i create a text input component for xcelsius. i packeged it through addon manager. i want to restrict it's height . but i am not able to do it. when the user drag it it's size chages according to the user dragging area.
Can any one help me
Thanks in advance
It might be helpful for you to post this thread on the Xcelsius SDK, not on the Xcelsius Forum:
Flex SDK Development
Regards
Victor
Similar Messages
-
Controlling content height in the scrollpane component
I'm using the scrollpane component to display content, within
the content movie clips, are swf animations that are being imported
using targets. Some of the animation's parts go far beyond the
height of the stage, causing the scrollpane to adjust for the
height of the imported swf, as opposed to the height of the content
movie clip. How can I fix this?The content clip's size is determined dynamically by what
it's content is at any given time. If you change the content, there
is every reason to expect the content clip's size to change as
well.
If you do change the content of the scrollpane, you need to
redraw (Flash 7+) or refresh (Flash 6) the pane after the new
content is loaded. -
Any Solution to restrict the installation of crypto component
Hello,
According to US export control, DSEE 7 has a embedded a crypto component classified 5D002. so we sold the DSEE 7 with our product.
Is there any way to restrict the installation of this crypto components.
we are using DSEE 7 Zip Distribution.
Regards,
SriniI'm assuming someone will be able to change these values (if authorised)...
So there are several ways..
The easiest is probably to check the values when saving an order. If the user isn't authorised to change these values, then an error message can be issued.
Have a look a user-exit IWO10009 (at order save event) via TCode SMOD
Also investigate PPCO0023 (Checks changes to components)
PeteA -
To restrict the change of quantity of component
Hi,
What is the most effective way to restrict the change of quantity of reserve material after the MO is release.
Considering the create , release and processing of the MO is done by separate user. My requirement is after the release of the maintenance order users should not allow to change the quantity of the material.
regards
DPI'm assuming someone will be able to change these values (if authorised)...
So there are several ways..
The easiest is probably to check the values when saving an order. If the user isn't authorised to change these values, then an error message can be issued.
Have a look a user-exit IWO10009 (at order save event) via TCode SMOD
Also investigate PPCO0023 (Checks changes to components)
PeteA -
How to use the same component in different applications
Hi All,
I need to use the same component in different applications. i.e In opportunity, Quotation & Promotion.
The Search help view in the component PRD01QR should be used in all these components but with different search criteria.
With help of the DO_determine_configuration, different view configurations are possible but Different search criteria is not possible.
for Eg. search parameter without DDLB, F4 options in another components.
How can I control the behavior of the search view in different applications with restricting the field properties?
Is it possible to find out where and in which component these search_help_search component is used?Hi Harry,
Is it possible to find out where and in which component these search_help_search component is used?
ans: I am giving an Example for your question go through that u might get clear about this.
Ex: BT115IT_SLSO sales order component
below screen they component usage using for populate the product search component.
please let me know any help required .
Regards,
vishwa. -
How to Restrict the node level in account hierarchy
Hi experts,
I want to restrict the node level in account hierarchy. I attached one example. in that if i click 6000 node again it want to show error message. for one parent node i want to create only two child node. Further if i create means it want to show error msgs and not allow to create the node..
Regards,
gopiHi ,
The component is bp_hier, and method is onnew_node.
IF lv_tree->is_locked( ) = abap_false.
lv_tree->lock( ).
ENDIF.
CHECK lv_tree->is_locked( ) = abap_true.
lv_index = typed_context->accounthierarchy->selected_index.
lv_tree_node = typed_context->accounthierarchy->get_node_by_index( lv_index ).
*key = lv_tree_node->node_key.
CALL METHOD lv_api->get_node_parent
EXPORTING
iv_node_key = key
IMPORTING
ev_parent_node_key = lv_paent_key
* ev_tree_guid =
* lv_parent = lv_tree_node->parent_entity.
* typed_context->accounthierarchy->parent_entity.
CALL METHOD lv_tree_node->get_children
receiving
rt_children = rt_child.
CHECK lv_tree_node IS BOUND.
lv_tree_node->is_leaf = abap_false.
TRY.
lv_proxy_node ?= lv_tree_node.
TRY.
lv_object ?= lv_proxy_node->bo.
CATCH cx_sy_move_cast_error.
lv_mixed_node ?= lv_proxy_node->bo.
lv_object ?= lv_mixed_node->if_bsp_wd_ext_property_access~get_model_node( ).
ENDTRY.
lv_object_name = lv_object->get_name( ).
IF lv_object_name = 'BuilHierarchyNode'.
lv_relation_name = 'BuilHNodeRel'.
ELSEIF lv_object_name = 'BuilHierarchyHeader'.
lv_relation_name = 'BuilHeaderNodeRel'.
ELSE.
RETURN.
ENDIF.
lv_tree_node->get_children( ).
lv_object = lv_object->create_related_entity( lv_relation_name ).
lv_child_node = lv_proxy_node->node_factory->get_proxy(
iv_bo = lv_object
iv_proxy_type = 'CL_BP_HIER_HIERARCHYTREEV_CN05'
iv_parent_proxy = lv_tree_node ).
lv_tree_node->expand_node( ).
typed_context->accounthierarchy->refresh( ).
typed_context->accounthierarchy->deselect_all( ).
lv_child_node->selected = abap_true.
lv_child_node->is_leaf = abap_true.
*accounthierarchy
* selectedhierarchynode
lv_col_wrap = typed_context->selectedhierarchynode->get_collection_wrapper( ).
lv_col_wrap->clear( ).
This is the code.
i wrote . but its not getting. -
How to restrict the no of rows to be displayes in ALV in webdynpro
Hi All,
Can any one suggest how to restrict the no of records to be displayed in the portal in the ALV through webdynpro ABAP.
Thanks & Regards,
Sreelatha Gullapalli.HI,
If you want to change the Source (Design time) then you can do that via the alv configuration.
Something like this in the component SALV_WD_COLUMNS_UI
lr_available_model->if_salv_wd_table_settings~set_visible_row_count( lc_row_count ). -
Is there a way to expose properties or styles from a skin part to the host component?
For example, I have this skin that contains a border around an image. I would like to be able to let the user set the cornerRadius.
Skin:
<fx:Metadata>
<![CDATA[
[HostComponent("spark.components.Image")]
[Style(name="cornerRadius", inherit="inherit", type="int")]
]]>
</fx:Metadata>
</code>
I would like to see that style show up in code complete in a UIComponent that uses this skin,
<s:Image x=”10″ y=”30″ width=”50″ cornerRadius=”12″ skinClass=”ScaleImageSkin” height=”50″ source=”avatar.png”/>
However the style “cornerRadius” throws an error at compile time.The only way I've found to pass properties or styles to a skin is through CSS or extending the host component and adding the styles or properties onto it. However this seems like a hack. Shouldn't the skin expose it's configuration to the host component? I think that is what Flex themes are doing.
-
How can I make the edges of the JSC component curved?
It is a very common practice to make the edges curved in web development. Curved edge looks attractive and professional. (for example see blog.com)
How can I make the edges of the JSC component curved? For example, consider Textfield component, how to make the the sharp edges smooth and curved?
Thank you very much.Follow the steps below implement rounded edges for tabs in a tabset component:
1)Create 2 images: level1_selected.jp and level1_deselct.jpg to be used as the background for these tabs. Thse images can be easily craeted using windows paint software. Just ceate a rectangular image of size 200X30 and draw a rounded rectangle on it.
2) Redefine the following styles in your application stylesheet(originally defined in css_master.css)
.Tab1Div td.Tab1TblSelTd {
background-color:#EDF5F8;width: 200px;height:40px;background-image:url(images/level1_selected.jpg)
.Tab1Div td.Tab1TblSelTd {
background-repeat:repeat-x;background-position:left bottom;border-bottom:none
.Tab1Div td {
background-color:#EFEBEF;width: 200px;height:40px;background-image:url(images/level1_deselect.jpg);border:none
.Tab1Div td {
background-repeat:repeat-x;background-position:bottom left
a.Tab1Lnk:link, a.Tab1Lnk:visited {
display:block;padding:8px 15px 0px;font-weight:bold;text-align:center
Results: By doing this you'll have the selected and unselected tabs show up with rounded egdes and also the selected tab will look bigger than the unselected tas making it more prominent. -
Adding time to the FLVplayback component
Hi everyone, Im using the FLVplayback component for a project im doing. I want to add the time elapsed and time left on the controls. I dont really want to create my own controls, as im happy with the flv playback component. The FLVs playing in the component are external and are loaded into it via as3
Is there a quick and easy way of doing this?
Cheers
DanI have managed to find some code for this component, but im getting some errors which im having trouble to de-bug;
1118: Implicit coercion of a value with static type Object to a possibly unrelated type Function. vidPlayer.addEventListener("metadataReceived", listenerObject);
1118: Implicit coercion of a value with static type Object to a possibly unrelated type Function. vidPlayer.addEventListener("playheadUpdate", listenerObject);
Please would someone take a look and let me know what im doing wrong?
Thanks
code:
var listenerObject:Object = new Object();
var fullDuration = null;
listenerObject.metadataReceived = function(eventObject:Object):void {
fullDuration = prettyTime(vidPlayer.metadata.duration);
listenerObject.playheadUpdate = function(eventObject:Object):void {
var paTime = vidPlayer.playheadTime;
if(fullDuration != null){
//updates the text box with the instance name timeCode_txt on the root timeline.
//best to use a monospace typeface like calibri for the textbox font.
time_txt.text = prettyTime(vidPlayer.playheadTime) + " / " + fullDuration;
vidPlayer.addEventListener("metadataReceived", listenerObject);
vidPlayer.addEventListener("playheadUpdate", listenerObject);
function prettyTime(timeinSeconds):String{
var seconds:Number = Math.floor(timeinSeconds);
var minutes:Number = Math.floor(seconds / 60);
var hours:Number = Math.floor(minutes / 60);
//Storing the remainder of this division problem
seconds %= 60;
minutes %= 60;
hours %= 24;
//Converting numerical values into strings so that
//we string all of these numbers together for the display
var sec:String = seconds.toString();
var min:String = minutes.toString();
var hrs:String = hours.toString();
//Setting up a few restrictions for when the current time reaches a single digit
if (sec.length < 2) {
sec = "0" + sec;
if (min.length < 2) {
min = "0" + min;
if (hrs.length < 2) {
hrs = "0" + hrs;
//Stringing all of the numbers together for the display
var time:String = hrs + ":" + min + ":" + sec;
//Setting the string to the display
return time; -
What does the field "Version of the Reporting Component" in the table RSZC
Hi Experts,
Was wondering if any of you have the answer to the following:
The table RSZCOMPDIR stores details of the queries.
Now the field "Version of the Reporting Component" in this table contains many different values viz. 0, 11, 13, 15, 100, 101, 102 etc.)
However, am not sure if this field denotes the object type....for e.g. bot calculated & restricted key figues may have version 15 etc.
So, in a nutshell, what does the field "Version of the Reporting Component" in the table RSZCOMPDIR signify?
Thanks,
BalaI have not seen this done for CVI but I believe for all Microsoft functions such as this you would use ActiveX to call the Word, Excel, and possibly powerpoint ActiveX classes.
Ian M.
National Instruments -
How to show Tool Tip to the XGlobe Component
Hi Expert,
I am new to the Xcelsius.I have an requirement and need your valuable inputs.
I am using the XGlobe component, in which i have used alerter on it, by using the pins. I have 200 countries to show on the globe. It is not possible for anyone to remember all those countries from the Globe component and click on that country and get the required value. I am using QAAWS to develop this dashboard
So to make it easy i need to show the tool tip on the pins of the Globe so that i can easily know the country name.
Please help me out on this.
waiting for your inputs.
Thanks in dvance,
SandeepHi Charles,
Thanks for your reply, I have already used the text box to catch the values from the Globe.
But as there are too many countries (around 200) and everyone is not able to understand the geographical location of the country on the globe, so every time the user needs to click on the pins to get the desired country.
Is there any add ons or an external component which i can use with Globe or anyother way to show the Tool Tip.
Regards,
Sandeep -
Any sources for styling \ skinning the Slider component?
Any sources for styling \ skinning the Slider component?
ie setting the background invisible or using another graphic in place of the line/rectangle graphic. using another graphic for the thumb. replacing the current graphic thumb has restrictions in dimensions,: http://flash.sikotiko.com/2009/05/05/as3-skinning-slider-component/
-
How to restrict the Users to access other application URL on same machine?
We have one Oracle 10g AS server, hostname "abc", this server having two services named "DSS" and "RBL".
Our requriement is how we can restrict the URL "http://abc.xyz.com:7777/forms/frmservlet?config=rbl" from user access, because both DSS and RBL having same URL.
Can we change port 7777 for RBL service?
http://abc.xyz.com:7777/forms/frmservlet?config=dss
[DSS]
userid=schema_1/abc123@orcl
form=DSS_MAIN_MENU.fmx
width=200%
height=200%
separateFrame=true
lookAndFeel=oracle
colorScheme=teal
splashScreen=no
background=grey
http://abc.xyz.com:7777/forms/frmservlet?config=rbl
[RBL]
userid=schema_1/abc123@orcl
form=MAIN_MENU.fmx
width=200%
height=200%
separateFrame=true
lookAndFeel=oracle
colorScheme=teal
splashScreen=no
background=grey
--------------------------------------------------------------------------Anyone can answer.
-
Problem Extending the Dialog component from Flex
I'm trying to extend the flex Dialog component () for usage in Xcelcius, I can package my component successfully and add it to the add-ons in Xcelsius. The problem is that if I try to drag and drop the component to the Xcelsius workspace, the component appears blank and halts the IDE a bit. Does anyone have an idea what I might be doing wrong?
my code is as follows:
package com.component.xcelsius.component
import flash.text.TextFormatAlign;
import mx.containers.TitleWindow;
import mx.controls.Label;
import mx.core.ScrollPolicy;
[CxInspectableList ("title", "showTitle")]
public class ErrorMessageHandler extends TitleWindow
private var _titleChanged:Boolean = true;
private var _valueChanged:Boolean = true;
private var _titleText:String = "My Own";
private var _showTitle:Boolean = true;
private var _visible:Boolean = true;
public function ErrorMessageHandler()
super();
[Inspectable(defaultValue="Title", type="String")]
public override function get title():String
return _titleText;
public override function set title(value:String):void
if (value == null) value = "";
if (_titleText != value)
_titleText = value;
_titleChanged = true;
invalidateProperties();
override protected function createChildren():void
super.createChildren();
// Allow the user to make this component very small.
this.minWidth = 200;
this.minHeight= 25;
// turn off the scroll bars
this.horizontalScrollPolicy = ScrollPolicy.OFF;
this.verticalScrollPolicy = ScrollPolicy.OFF;
override protected function commitProperties():void
super.commitProperties();
if (this._titleChanged)
this.title = _titleText;
this.visible = true;
this.showCloseButton = true;
invalidateDisplayList(); // invalidate in case the titles require more or less room.
_titleChanged = false;
if (this._valueChanged)
// Override updateDisplayList() to update the component
// based on the style setting.
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
super.updateDisplayList(unscaledWidth, unscaledHeight);Hi,
First of all make sure you compile your Flex project with Flex SDK 2.0.1 Hotfix 3?
In the Add-on Packager carefully check your classname (the full class path + class name) because Xcelsius creates an instance of that class when you drag the add-on onto the canvas, so if it doesn't create anything usually it means your classname is wrong in the packager.
In your case:
com.component.xcelsius.component.ErrorMessageHandler
If none of that works try extending from VBox as the top-level add-on class instead and see if that works (I have never tried with a TitleWindow).
Regards
Matt
Maybe you are looking for
-
I have 3 numbers on my account, how do i access them from a PC?
I have multiple numbers on my one account. How do I access them from a PC? Im only seeing one of my numbers showing up, not all of them. Is there a tab or something where you can switch back and forth between numbers?
-
IMac without Airport/WiFi Card?
Hi, I want to get an used iMac that *doesn't have* any Airport or WiFi card/possibilities and that could run the latest version of Mac OS 10.5 (I'd need it for music and photos storing purpose). So, what would be the most recent version of this iMac?
-
How to use different default parameter value for different report subscriptions
In ssrs is it possible to define different default parameter values for different subscriptions? In the following example I have a report which has two subscriptions with different start date and end date values: Report name – Testsubscription.rdl Su
-
Display an CHOOSE_ICON image on an SBO Item
When i try to draw an button with an image, the bitmap (CHOOSE_ICON or TREE_LIST) don't appear in the SBO control; here my code : Dim oItem As SAPbouiCOM.Item Dim oButton As SAPbouiCOM.Button oItem = oForm.Items.Add _ ("1",SAPbouiCOM.BoFormIt
-
Hello, I am hoping to get some advice fixing the following DW problem: In WYSIWYG mode I can't view any images while trying to modify a .ASP page. I can see the code via code view. But can't see anything in the design view on my default.asp page. I c