Jbutton selection indicator
i have a jbutton, and you`ll notice if a jbutton is selected, a grey box will surround the text of the jbutton... how do i go about changing the color of this box
Button.focus property in UIManager
Similar Messages
-
Disable Spark List selection indicator
How do I get rid of the Spark List selection indicator entirely? I don't want the rectangular indicator when the mouse hovers over an item, and I don't want the color to change when the mouse is clicked.
You'll have to extend default item renderer (ItemRenderer for instance) and set autoDrawBackground to false. And then use your item renderer in a list.
See this document for more information on spark item renderers. -
Selection indicator greyed our in 'Assign' tab of Dimensions
Hi All,
We are on 3.5 trying to re-design cubes for performance. While re-designing, the selection indicator against the characteristic is greyed out in edit mode. This is after deleting the data from fact and dimension tables.
Please let me know if we are missing out anything.
Regards
SudeeptiHi,
Re-designing means u r adding any char in to u r cube .what ever it may be which u want add any char. its there in the data source or else u r doing the any Repartitioning.
Can u give me details.
Regards,
Anil -
REUSE - how to hide row selection indicator
Hi,
I am using fm REUSE_ALV_GRID_DISPLAY , within i have an editable checkbox field.
But in the grid i need to hide the row selection indicator. (ie the square push button appers first column of the gird)
But if i am using REUSE_ALV_LIST_DISPLAY, the row indicator is not appearing?
Any suggestions?
Thanks
aRshi...
here sending u the report i m currently working ( used REUSE_ALV_LIST_DISPLAY and output dont hav the selection tab )
Plz check the FM for merge ALV.
plz send me urs code, so if possible i ll try to fix it.
thank-you
REPORT zrwty_wty_errors .
TYPE
TYPE-POOLS: slis, icon.
Tables
Tables : pnwtyh,
balhdr.
Data Decleration
DATA: text(1000), lv_clmno(40).
Internal table for messages ( Datewise )
DATA: BEGIN OF it_balhdr OCCURS 0,
lognumber TYPE balhdr-lognumber,
log_handle TYPE balhdr-log_handle,
END OF it_balhdr.
Internal table for PNWTYH
DATA: BEGIN OF it_pnwtyh OCCURS 0,
clmno TYPE pnwtyh-clmno,
log_message TYPE pnwtyh-log_message,
END OF it_pnwtyh.
Internal table to fetch the actual text messages
DATA: it_message LIKE balm OCCURS 0 WITH HEADER LINE.
Internal Table to handle the ALV o/p
DATA: BEGIN OF it_grid OCCURS 0,
clmno TYPE pnwtyh-clmno,
chgdat TYPE dats,
icon TYPE icon-id," BALIMSGTY
text(1000),
END OF it_grid.
Field Catelog and layout Decleration
*DATA: it_fieldcat TYPE lvc_t_fcat,
wa_fieldcat TYPE lvc_s_fcat OCCURS 0 WITH HEADER LINE,
x_fieldcat TYPE lvc_s_fcat OCCURS 0 WITH HEADER LINE.
*DATA: x_layout TYPE lvc_s_layo.
DATA: it_fieldcat TYPE slis_t_fieldcat_alv," type slis_fieldcat_alv
wa_fieldcat TYPE slis_fieldcat_alv OCCURS 0 WITH HEADER LINE,
x_layout TYPE slis_layout_alv.
DATA: lv_repid LIKE sy-repid.
have hotspot for a PO.
DATA: s_fieldcat LIKE LINE OF it_fieldcat.
s_fieldcat-hotspot = 'X'.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
SELECT-OPTIONS:
s_aldate FOR balhdr-aldate.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETERS : r1 RADIOBUTTON GROUP rg DEFAULT 'X'.
PARAMETERS : r2 RADIOBUTTON GROUP rg .
SELECTION-SCREEN END OF BLOCK b2.
if s_aldate-high = '00000000'.
s_aldate-high = s_aldate-low.
endif.
FM to fetcht he messg no. based on date
CALL FUNCTION 'APPL_LOG_READ_DB'
EXPORTING
object = 'WTY'
subobject = 'CLAIMMSG'
EXTERNAL_NUMBER = ' '
date_from = s_aldate-low
date_to = s_aldate-high
TIME_FROM = '000000'
TIME_TO = '240000'
log_class = '1'
PROGRAM_NAME = '*'
TRANSACTION_CODE = '*'
USER_ID = ' '
MODE = '+'
PUT_INTO_MEMORY = ' '
IMPORTING
NUMBER_OF_LOGS =
TABLES
HEADER_DATA =
HEADER_PARAMETERS =
messages = it_message
MESSAGE_PARAMETERS =
CONTEXTS =
data: zlines type i.
describe table it_message lines zlines.
if it_message[] is initial.
message S398(00) with 'No data found.'.
exit.
endif.
IF radio button ERROR only is selected, Delete others
IF r2 = 'X' .
DELETE it_message WHERE msgty <> 'E'.
ENDIF.
fetch log_handle from BALHDR
SELECT lognumber log_handle FROM balhdr INTO TABLE it_balhdr FOR ALL
ENTRIES IN
it_message WHERE lognumber = it_message-lognumber.
Based on log _handle fetch claim no from PNWTYH
SELECT DISTINCT clmno log_message FROM pnwtyh INTO TABLE it_pnwtyh FOR
ALL ENTRIES IN it_balhdr WHERE log_message = it_balhdr-log_handle.
LOOP AT it_message.
*select single clmno into lv_clmno from pnwtyh as a inner join BALHDR
*as
b on
*aLOG_MESSAGE = bLOG_HANDLE where b~LOGNUMBER = it_message-LOGNUMBER.
READ TABLE it_balhdr WITH KEY lognumber = it_message-lognumber.
IF sy-subrc = 0.
READ TABLE it_pnwtyh WITH KEY log_message = it_balhdr-log_handle.
IF sy-subrc = 0.
lv_clmno = it_pnwtyh-clmno.
ENDIF.
FM to fetch the actual text message
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = it_message-msgid
lang = 'EN'
no = it_message-msgno
v1 = it_message-msgv1
v2 = it_message-msgv2
v3 = it_message-msgv3
v4 = it_message-msgv4
IMPORTING
msg = text
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*data: message like BAPIRET2-MESSAGE.
*data: it_text like BAPITGB occurs 0.
*CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'
EXPORTING
id = it_message-msgid
number = it_message-msgno
LANGUAGE = SY-LANGU
textformat = 'RTF'
LINKPATTERN =
MESSAGE_V1 =
MESSAGE_V2 =
MESSAGE_V3 =
MESSAGE_V4 = -
IMPORTING
MESSAGE = message
RETURN =
TABLES
TEXT = it_text
it_grid-clmno = lv_clmno.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = it_grid-clmno
IMPORTING
output = it_grid-clmno.
Local Variable to handle Date Data
DATA: l_tmstp(30) TYPE c,
l_date TYPE sydatum.
WRITE it_message-time_stmp TO l_tmstp LEFT-JUSTIFIED DECIMALS 0
NO-GROUPING.
l_date = l_tmstp(8).
it_grid-chgdat = l_date.
it_grid-text = text.
IF it_message-msgty = 'E'.
it_grid-icon = '@0A@'.
ELSEIF it_message-msgty <> 'E' AND it_message-msgty <> 'S'.
it_grid-icon = '@09@'.
ENDIF.
APPEND it_grid.
CLEAR it_grid.
CLEAR: lv_clmno, it_message, text.
ENDIF.
ENDLOOP.
PERFORM display_alv.
*& Form display_alv
text
--> p1 text
<-- p2 text
FORM display_alv .
PERFORM build_field_catalog.
PERFORM build_layout.
Assign program name to variable
lv_repid = sy-repid.
Call the ALV Grid FM for Display
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_callback_program = lv_repid
i_grid_title = 'Wty Errors'
is_layout_lvc = x_layout
it_fieldcat_lvc = it_fieldcat
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
TABLES
t_outtab = it_grid[]
EXCEPTIONS
program_error = 1
OTHERS = 2 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
i_callback_program = lv_repid
I_GRID_TITLE = 'Display Messages'
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = 'USER_COMMAND'
I_STRUCTURE_NAME =
is_layout = x_layout
it_fieldcat = it_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_grid[]
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_alv
*& Form build_field_catalog
text
--> p1 text
<-- p2 text
FORM build_field_catalog .
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'ICON'.
wa_fieldcat-seltext_l = 'Mssg Type'.
wa_fieldcat-icon = 'X'.
wa_fieldcat-outputlen = 8.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 2.
wa_fieldcat-fieldname = 'CHGDAT'.
wa_fieldcat-seltext_l = 'Chg Date'.
wa_fieldcat-outputlen = 10.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 3.
wa_fieldcat-fieldname = 'CLMNO'.
wa_fieldcat-seltext_l = 'Claim No'.
wa_fieldcat-outputlen = 12.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 4.
wa_fieldcat-fieldname = 'TEXT'.
wa_fieldcat-seltext_l = 'Message Text'.
wa_fieldcat-outputlen = 100.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
MODIFY it_fieldcat FROM s_fieldcat TRANSPORTING hotspot
WHERE fieldname = 'CLMNO'.
*CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ZWTY_ERR'
i_bypassing_buffer = 'X'
CHANGING
ct_fieldcat = it_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME =
I_INTERNAL_TABNAME =
I_STRUCTURE_NAME = 'ZWTY_ERR'
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = it_fieldcat[]
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'ICON'.
wa_fieldcat-seltext_l = 'Mssg Type'.
wa_fieldcat-seltext = 'Mssg Type'.
wa_fieldcat-icon = 'X'.
wa_fieldcat-SCRTEXT_L = 'Mssg Type'.
wa_fieldcat-outputlen = 8.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
MODIFY it_fieldcat FROM wa_fieldcat TRANSPORTING seltext_l WHERE
fieldname = 'ICON' .
CLEAR wa_fieldcat.
MODIFY it_fieldcat FROM wa_fieldcat TRANSPORTING seltext icon
*SCRTEXT_L
*WHERE
fieldname = 'ICON' .
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 2.
wa_fieldcat-fieldname = 'CHGDAT'.
wa_fieldcat-seltext_l = 'Chg Date'.
wa_fieldcat-seltext = 'Chg Date'.
wa_fieldcat-SCRTEXT_L = 'Chg Date'.
wa_fieldcat-outputlen = 10.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
MODIFY it_fieldcat FROM wa_fieldcat TRANSPORTING seltext_l WHERE
fieldname = 'CHGDAT' .
CLEAR wa_fieldcat.
MODIFY it_fieldcat FROM wa_fieldcat TRANSPORTING seltext SCRTEXT_L
*WHERE
fieldname = 'CHGDAT' .
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 3.
wa_fieldcat-fieldname = 'CLMNO'.
wa_fieldcat-seltext_l = 'Claim No'.
wa_fieldcat-outputlen = 12.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 4.
wa_fieldcat-fieldname = 'TEXT'.
wa_fieldcat-seltext_l = 'Message Text'.
wa_fieldcat-seltext = 'Message Text'.
wa_fieldcat-SCRTEXT_L = 'Chg Date'.
wa_fieldcat-outputlen = 100.
wa_fieldcat-tabname = 'IT_GRID'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
MODIFY it_fieldcat FROM wa_fieldcat TRANSPORTING seltext_l WHERE
fieldname = 'TEXT'.
CLEAR wa_fieldcat.
*MODIFY it_fieldcat FROM wa_fieldcat TRANSPORTING seltext SCRTEXT_L
*WHERE
fieldname = 'TEXT'.
CLEAR wa_fieldcat.
LOOP AT it_fieldcat.
IF it_fieldcat-fieldname = 'CLMTY'.
it_fieldcat-seltext_l = 'ICON'.
it_fieldcat-icon = 'X'.
MODIFY it_fieldcat.
ENDIF.
ENDLOOP.
*Adding the Text to be displayed
x_fieldcat-reptext = 'Claim No.'.
MODIFY it_fieldcat FROM x_fieldcat TRANSPORTING reptext WHERE
fieldname = 'CLMNO' .
CLEAR x_fieldcat.
x_fieldcat-reptext = 'MSG TYPE'.
x_fieldcat-icon = 'X'.
MODIFY it_fieldcat FROM x_fieldcat TRANSPORTING reptext icon WHERE
fieldname = 'CLMTY' .
CLEAR x_fieldcat.
x_fieldcat-reptext = 'Text'.
MODIFY it_fieldcat FROM x_fieldcat TRANSPORTING reptext WHERE
fieldname = 'TEXT' .
CLEAR x_fieldcat.
MODIFY it_fieldcat FROM s_fieldcat TRANSPORTING hotspot
WHERE fieldname = 'CLMNO'.
ENDFORM. " build_field_catalog
*& Form Build_layout
text
--> p1 text
<-- p2 text
FORM build_layout .
CLEAR x_layout.
x_layout-colwidth_optimize = 'X'.
x_layout-zebra = 'X'.
ENDFORM. " Build_layout
FORM display_detail *
--> UCOMM *
--> SELFIELD *
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
IF ucomm = '&IC1'.
READ TABLE it_grid INDEX selfield-tabindex.
*IF sy-subrc = 0.
*SET PARAMETER ID 'CLMNO' FIELD it_grid-clmno.
*CALL TRANSACTION 'ZWTY' AND SKIP FIRST SCREEN.
*ENDIF.
IF sy-subrc EQ 0.
SET PARAMETER ID 'CLMNO' FIELD it_grid-clmno.
CALL TRANSACTION 'WTY' AND SKIP FIRST SCREEN.
ENDIF.
IF sy-subrc EQ 0.
CALL 'WTY' FOR SELECTED CLAIM
CALL FUNCTION 'ZWTY_CLAIM_DISPLAY'
EXPORTING
i_clmno = it_grid-clmno
iv_from_doc = 'J'
EXCEPTIONS
not_found = 1
authority_failed = 2
no_claimtype = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. "user_command
regards
vinsee -
Row Selection Indicator in Grid Properties
Hi,
I am trying to set the Grid Properties (Use tab) - Row Selection Indicator through Component Interface Peoplecode.
Is it possible to achieve this. I have the Multiple Row (check box) option selected.What is it that you want to do with this after achieving it?
Keep in mind that although CI represent components, the handling is different in PeopleCode.
In a component accessed through PIA I can image that you want to use the Row.Selected property to catch which rows a user has selected. But when working with a CI, you (the programmer) are the one that is populating the data through PeopleCode so you know what data/rows you are modifing.
Regards,
Hakan -
Inequality condition prevents the optimizer from selecting indices on tabl
Dear all,
I have the below query which takes 4 minutes to give the output:
original query
select t_sub.contrno "contNo" from tsk_subno t_sub ,arm_subs_balance bal where order_no = '5360' and
order_type='NET' and t_sub.subno = bal.subno (+);sql tuning advisor is giving the below advise.. Restructure SQL
Predicate NVL("IVM_BILLING"."BILLED",'N')<>'Y' used at line ID 14 of the execution plan is an inequality condition on indexed column "SYS_NC00071$". This inequality condition prevents the optimizer from selecting indices on table "TABS"."IVM_BILLING".How I can restructure the sql..
FYI. arm_subs_balance is a view which takes data from IVM_BILLING.
view script :
CREATE OR REPLACE VIEW ARM_SUBS_BALANCE
(CONTRNO, SUBNO, PAST_DUE, DEPOSIT, UNBILLED,
TOTAL)
AS
SELECT contrno,subno,sum(past_due) past_due,sum(deposit) deposit,
sum(unbilled) unbilled,
sum(past_due+deposit+unbilled) total
from
select subno,0 past_due,0 deposit,0 unbilled,contrno
from CRM_USER_INFO
union all
select nvl(H.subno,'0000000') subno, sum(nvl(R.ar_am_loc,0)) past_due,
0 deposit,0 unbilled, R.contrno
from IVM_INVOICE_DETAIL R, IVM_INVOICE_RECORD H
WHERE R.AR_REF=H.AR_REF
and R.contrno = H.contrno
group by nvl(H.subno,'0000000'),R.contrno
having sum(nvl(R.ar_am_loc,0)) != 0
union all
select subno,0 past_due,nvl(add_deposit,0) depoist,
0 unbilled, contrno
from CRM_USER_EQUIPMENTS
union all
select subno,0 past_due,0 deposit, nvl(billamount,0) unbilled,
contrno
from IVM_BILLING
where nvl(billed,'N') != 'Y'
group by subno,contrnoThanks
Kai
Edited by: KaiS on Sep 30, 2009 10:10 AMJustin,
I always thought that nvl(billed,'N') != 'Y' meant that the query should include all rows with a null-value or a value other than Y. :p
But I agree that the index would moste likely not be that helpfull, but we need more information for that: [When your query takes too long|http://forums.oracle.com/forums/thread.jspa?messageID=1812597] and [HOW TO: Post a SQL statement tuning request |http://forums.oracle.com/forums/thread.jspa?threadID=863295]
I expect that the conditions on tsk_subno will result in a small number of rows and that there's an index on tsk_subno.order_no which will be used to retrieve those rows.
In that case view arm_subs_balance will be accessed on subno. This means that if the tables crm_user_info, crm_user_equipments and ivm_billing have indexes on subno, those indexes will be used, but an index on ivm_invoice_record.subno will not be used because of select nvl(H.subno,'0000000') subnoWithout more information I would guess that this part of the union takes longest and should be tuned by rethinking/redesigning the view or a function based index: create index i on IVM_INVOICE_RECORD ( nvl(H.subno,'0000000') ); -
IPhone SDK - UIPickerView selection indicator customization
Hi,
I have a UIPickerView and would like to have the selection indicator to show the units of my selection. This is similar to the Timer app on iPhone. On this app, the picker shows the numbers for hours and minutes and the selection indicator indicates the units (i.e. hours/mins). I want the same effect but have not been able to figure it out. I tried hacking it by constantly changing the value for the current selected cell in the delegate and calling reloadData everytime but the result is ugly and jumpy. I am sure there is a better way to do this.
Any ideas would be appreciated.
Thanks,
loungefanYes, that's the way I did it too, although I had to do it programmatically as when I tried to use datepickers, UIPickers in IB, other controls and views did not work properly, so I ended up leaving a space for the picker in IB and did the picker and selection label by hand (with MANY tweaks to get it right).
-
Show Jbutton Selected on mouse click
Hi,
i am creating lines with jbutton. lines are very small. When user clicks on the lines i want to show them selected(somehow).I can't increase their border bcoz if user will copy them then they will be copied with that border is there any other way to show button selected and whenever use click somewhere(on applet, textfield or another jbutton) else delselect that jbutton.
ThanksI have experiecnce with this problem... and unfortunatly ther's not solution.
Some trigger (like when-mouse-enter or when-mouse-live) don't work with form deployed on web. I suppose that these triggers are not supported in deployd on web because the "client" browser shuld be constantly comunicate with the runtime engine. -
I am new to LabView and have inherited an application written with it. The original developer is no longer working here.
I am trying to extend the functionality of this application and ran into this weird problem.
I have a Waveform Chart that I cannot select on the Front Panel. This chart was original hidden, after I "Show Indicator" in Block Diagram it is visible on Front Panel. Yet it behaves as if nothing is there. I cannot select it, and right clicking on it brings up the Control Palette instead. Double-clicked on the icon in Block Diagram would bring me to the Front Panel with the chart looking selected (dashed box), but it still acts like it is not there.
Any idea what is going on? Thank you very much.I somehow fixed it. Somehow I can select the X-axis values area and it acts like I select the entire chart, change something in it and back and now the chart is acting normal again.
Very odd. -
Edit Selection Indicator For Template Buttons
Hello,
I have been searching for an answer to my question but have not been able to find an answer. Perhaps because I'm not searching for the proper terminology.
I applied the Apple template "Wedding Classical Index" to a menu, and am now trying to customize it in order to create a template for automated chapter index creation. I have been able to reposition everything so far except for the indicators that show which button is selected. I repositioned the button text... but now these indicators are not in the correct location. Is there a way to move them... or is there a way to turn them off and export the menu to photoshop and create my own overlay in photoshop for button selection indicators?
Thank You,
Mattis there a way to turn them off and export the menu to photoshop and create my own overlay in photoshop for button selection indicators?
I think you could take a screenshot of the menu, then use that in Photoshop (after resizing to 720x480 if needed) and create an overlay, then select your new overlay in DVDSP. It might require some tweaking. You also may then have to create a new template. -
I have a tile list layout with some thumbnails.
When one is selected it gets a default blueish background.
Could someone explain how i would go about putting a nice green tick over a thumbnail once its selected?Thank you both for your replies.
I'm already using a custom component that extends a spark List with layout property set to TileLayout. This is so i can mimick the user holding the CTRL key for multiple selection.
I also already have a custom item renderer that displays the thumbnail and fires off an event when clicked.
Really confused as where to put either of your code snippets.
this is my custom component
package
import flash.events.MouseEvent;
import mx.core.IVisualElement;
import spark.components.List;
public class CheckList extends List
public function CheckList()
super();
allowMultipleSelection = true;
* Override the mouseDown handler to act as though the Ctrl key is always down
override protected function item_mouseDownHandler(event:MouseEvent):void
var newIndex:Number = dataGroup.getElementIndex(event.currentTarget as IVisualElement);
// always assume the Ctrl key is pressed by setting the third parameter of
// calculateSelectedIndices() to true
selectedIndices = calculateSelectedIndices(newIndex, event.shiftKey, true);
and this is my item renderer
<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
autoDrawBackground="true" width="300" height="315" click="thumb_clickHandler(event)">
<mx:Image id="thumb" x="25" y="26" width="250" height="265" source="{data.thumburl}"/>
<fx:Script>
<![CDATA[
import flashx.textLayout.factory.TruncationOptions;
import mx.controls.Alert;
import mx.events.ItemClickEvent;
protected function thumb_clickHandler(event:MouseEvent):void
var ev:ItemClickEvent = new ItemClickEvent(ItemClickEvent.ITEM_CLICK, true);
ev.item = data;
ev.index = itemIndex;
//Alert.show(ev.item.imageurl);
dispatchEvent(ev);
]]>
</fx:Script>
</s:ItemRenderer>
Any help you can give me would be great, the code is getting really messy, should i merge these into one class? -
Does anyone know if a Lightroom web gallery can have a selection checkbox for each photo, so a client can communicate photo selections via a web process? I'm looking for an efficient way to sort through a large library (several thousand photos) and reduce it to just the photos my client wants to keep.
If Lightroom can't do the job, is there any application that can?
Thanks in advance for any help you can give ...Take a look at The Turning Gate:
http://shop.theturninggate.net/collections/all
I have not used any of their plug-ins, but they are mentioned here often and they look very good.
John -
Selection indicator for costing line items in production order
Dear all,
Do anyone know how to change field "AFVGD-SELKZ" of operation inside producion order? Any user-exit or standard program?
As content of field "AFVGD-SELKZ" is carried from routing. But is it possible to change in production order level?
Please kindly adivce.
Cheers,
KarenKaren,
Let me give some more additional inputs, for an operation to become relevant for costing there are 2 options.
1. As Ramanujam suggested - Control Key.
2. In the Routing operation details you have a field to mark an <b>operation costing relevant this field takes priority over control key in defining the costing</b>. This field can be found in the operation details - General Data section of routing.
<b>Some tricks,</b>
What i mean here is a control key may not be relevant for costing, but still if this field is marked as costing relevant or percentage costs then this is the priority.
if this field is marked not relevant for costing and if the operation has a control key relevant for costing then in this case control key takes priority.
In short what i meant is that you need to consider both "Control key" as well as the operation costing relevancy defination field.
Hope this helps your understanding in resolving your problem....Reward your points if so,
Regards,
Prasobh -
How to select a specific cell in a JTable?
Hi there,
in a JTable, I would like to select a specific cell (to highlight it) from a JButton.
Here a sample code...
Who could help me to fill it?
import java.util.*;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.*;
import java.awt.event.*;
public class TableSelection{
public static void main (String args[]) {
JFrame frame = new MyFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.show();
class MyFrame extends JFrame{
public MyFrame(){
setTitle("TableSelection");
setSize(WIDTH,HEIGHT);
DefaultTableModel myModel = new DefaultTableModel(2,2);
JTable myTable = new JTable(myModel);
myTable.setCellSelectionEnabled(true);
JButton button00 = new JButton("select 0,0");
button00.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent event){
System.out.println("selection of cell (0,0)");
//--- what code is required to select the cell(0,0)?
JButton button11 = new JButton("select 1,1");
button11.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent event){
System.out.println("selection of cell (1,1)");
//--- what code is required to select the cell(1,1)?
Box myBox = new Box(BoxLayout.Y_AXIS);
myBox.add(new JScrollPane(myTable));
myBox.add(button00);
myBox.add(button11);
getContentPane().add(myBox, BorderLayout.CENTER);
private static final int WIDTH=200;
private static final int HEIGHT=200;
}Thanks a lot for your help.
DenisUse the addColumnSelectionInterval(int index1, int index2)method ~ http://java.sun.com/j2se/1.4/docs/api/javax/swing/JTable.html#addColumnSelectionInterval(int,%20int)
and the addRowSelectionInterval(int index1, int index2) method ~ http://java.sun.com/j2se/1.4/docs/api/javax/swing/JTable.html#addRowSelectionInterval(int,%20int)
Hope that helped.
afotoglidis -
Using checkboxes to select items in a Spark DataGroup/List?
I have a DataGroup from Catalyst, laid out like a tile list:
I'd like to do something a bit different, in that I'd like to allow people to multi-select items in the list using those checkboxes instead of the usual command/control-click.
The checkbox, label and image are in the itemRenderer. Is there an easy way that I can have that checkbox toggle the selected state of its list item?Hi,
Using the checkbox as a selection is easy enough as all you have to do is add a change event to the checkbox in the renderer and then in the event
selected=mycheckbox.selected;
The fun is how to handle the list click event from the checkbox you can stop propagation but if the item is clicked it will reset the selected indices.
There is a few ways to handle this
when processing the list don't use the selected indices just use the checkbox value to determine whats selected
disable the listbox click event so items have to be selected with the checkbox
or the most complex lots of overriding so that click acts like a ctrl/click and the checkbox/itemclick can toggle each other.
David
Maybe you are looking for
-
How to get the values of the VO
Hello, I have one requirement on page where it displaying the Party information. 1)We have to add tow more column for the party extra information from attribute column (attribute8,attribute9) 2)There column should displayed when the attribute contain
-
Error message starting up Flash CS5 -- appears to be caused by welcome screen
Hello, I am running windows 7 64-bit, flash player debug (10.1 from labs) and CS5 Master collection. I staretd noticing an issue today -- Flash Professional CS5 has begun to freeze on opening it. I eventually get the message "a script in this movie i
-
Help required in knowing about graphic components in java
Hi I am in urgent requirement of finding out some graphing components for java.I want these components to work with Jsp. I am new to this and have no idea as to where to search for them. can any one help me in trying to find something.Is there anythi
-
10.1.3.5 - bpel flow - not showing activities - when receive is pick
Hi folks, We recently upgraded to 10.1.3.5 from 10.1.3.4. Many of our flows start with a pick activity. In 10.1.3.5 flow diagram only the root pick activity is displayed as if that was the only activity executed where as in 10.1.3.4 all the activitie
-
Hi, Can someone help me out in getting some docs where i can find the Bussiness Process in SD. Kindly let me know abt that?? Regards, Sekhar