Desktop icons in List format?
Can icons be shown in list format on Desktop display on my HP G71-358NR Notebook?
Serial: [Personal Information Removed], Product: 7K6YR-4D3FW-TH74Y-K3KFK-GRKPX.
If so, HOW? Thanks!
Hello @hoked41,
Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
I have read your post on how you are looking to change the format on your notebook computer, and I would be happy to assist you in this matter!
Unfortunately, the only available options to augment your desktop icons are to right-click the desktop, select "view", and check "Small", "Medium", or "Large".
I hope this helps!
Have a great weekend!
MechPilot
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!
Similar Messages
-
how can I change the desktop icon for an external hard drive. Using LaCies and Dimple hard drives.
One of the things I've found with OS X (at least with Snow Leopard, which is my first excursion into OS X), is that all too often the thumbnail displayed on a file, whether a file created or one downloaded, is a false thumbnail. That is, when you do a Get Info on the file the icon in the upper left is the generic icon for that file type, rather than the thumbnail displayed in Finder. Makes it a bit difficult to copy.
Apparently Finder uses Preview in the background to generate the displayed thumbnail without actually creating one.
What I've resorted to doing, particularly with graphic images, is to process them with GraphicConverter - I have its prefs set to automatially add thumbnails and previews. With an individual file this means opening it in GC and doing a Save As. However, a much easier and faster way is when there are two or more such files; I put them in a common folder and drop the folder onto GC. GC then opens them in a catalog view, in the process adding real thumbnails and previews to each automatically. Doesn't take long to do several hundred files that way. -
two problems this morning. I can't get into itunes from my desktop icon. previously I've not been able to download a book to my ipod nano. it shows in the audiobooks menue and in "purchased" but can't download. Help thanks,
Hey Gingernut03,
Welcome to Apple Support Communities! So it sounds like the same type of thing is happening to both iTunes and iCloud. Check out the following iTunes article and see if that resolves the issue with both services:
Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
Have a great day,
David -
All my desktop icons are Adobe Reader icons, can't access related files
I was trying to open a file this morning, and when a pop-menu asked what application I wanted to choose (from a list) to open it, I clicked on Adobe Reader - just as a guess. After that, just about all my desktop icons are Adobe icons, and when I click on them, the pop up menus says I can't access the file. These icons also show up on my menu of all my MS Office programs like Outlook, Word, Excel, etc.
Tech support at Adobe recommended I use System Restore, but it also is now an Adobe icon, so I can't open it. If anyone can help reverse this, I'd greatly appreciate it.
Thanks,
DavidHi,
This also happened to me this morning. Now all my icons are PDF symbols and Reader opens when I try to open any other program. I uninstalled Reader it and it fixed itself but when I reinstalled the program the same issue occurred.
I wanted to make PDF reader the default application when openning PDF's vs. Distiller, tinkered and broke my computer.
Any clues on how to bring everything back to normaL? -
[Solved]Conky causes desktop icons to dissappear
I decided to fool around with conky, since I saw the thread lower down in the forums. I kinda mashed some code together and I have a conky I like (though I cant get all the modules working...) but, activating conky causes my desktop icons to dissapear (and re-appear if I mouse over). It's my frist time actually using conky...so I might have messed up something in my (well, a mash of other's) code.
# set to yes if you want tormo to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font *mintsmild.se*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
# Text alpha when using Xft
xftalpha 0.8
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 230 5
maximum_width 250
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
# Gap between borders of screen and text
gap_x 13
gap_y 25
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #88aadd}$nodename - $sysname$kernel $machine
$hr
${color lightgrey}
${execp ~/.conkycalendar.sh}
#$hr
#${execi -l ~/.conkyforecast.py}
$hr
${color #88aadd}System Info:
${color lightgrey}CORE 0:${color} ${cpu 0}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 0} ${color lightgrey}Ghz
${color lightgrey}CORE 1:${color} ${cpu 1}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 1} ${color lightgrey}Ghz
${color lightgrey}CORE 2:${color} ${cpu 2}${color lightgrey}% ${alignr}${offset -49}${color}${freq_g 2} ${color lightgrey}Ghz
${color lightgrey}Uptime: ${color}$uptime
${color lightgrey}Processes:$color $running_processes/$processes ${offset 6}${color lightgrey}Load:$color ${loadavg 3}
${color lightgrey}RAM:$color $mem${color lightgrey} /${color}$memmax ( $memperc% )
${color lightgrey}Swap:$color $swap${color lightgrey} / ${color}$swapmax ( $swapperc% )
$hr
${color #88aadd}Top CPU:
${color lightgrey}Name CPU%
${color lightgrey}${top name 1} ${top cpu 1}%
${color lightgrey}${top name 2} ${top cpu 2}%
${color lightgrey}${top name 3} ${top cpu 3}%
${color lightgrey}${top name 4} ${top cpu 4}%
$hr
${color #88aadd}Top Memory:
${color lightgrey}Name PID CPU% MEM%
${color}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
$hr
${color #88aadd}Network:
${color lightgrey}Net: $color${addr eth0}${offset 6}${color lightgrey}
#Essid: ${color}${exec sudo iwconfig eth0 | grep "ESSID" | cut -c 32-45}
${color lightgrey}Up:${color} ${upspeedf eth0} k/s${color lightgrey}${alignr}${color lightgrey}Tot:${color} ${totalup eth0} ${color lightgrey}
${color lightgrey}Down: ${color}${downspeedf eth0} k/s ${alignr}${color lightgrey}Tot:${color} ${totaldown eth0}
Local Ip ${alignr}${addr eth0}
Public Ip ${alignr}${execp ~/.conkyip.sh}
$hr
${voffset 5}${color #88aadd}Disks:
/ $color${fs_used /} / ${fs_size} (${fs_free /})${fs_used_perc /}${color lightgrey}%${offset 5}
${color #88aadd}Win7 $color${fs_used /media/Windows7} / ${fs_size /media/Windows7} (${fs_free /media/Windows7})${fs_used_perc /media/Windows7}${color lightgrey}%${offset 5}
${color #88aadd}DataI $color${fs_used /media/DATA} / ${fs_size /media/DATA} (${fs_free /media/DATA})${fs_used_perc /media/DATA}${color lightgrey}%${offset 5}
${color #88aadd}DataII $color${fs_used /media/DataII} / ${fs_size /media/DataII} (${fs_free /media/DataII})${fs_used_perc /media/DataII}${color lightgrey}%${offset 5}
${color #88aadd}Win7 $color${fs_used /media/DataII} / ${fs_size /media/DataII} (${fs_free /media/DataII})${fs_used_perc /media/DataII}${color lightgrey}%${offset 5}
#$hr
#${color #88aadd}Banshee - ${execi 15 ~/conkyshee.py --status}${alignr}#${offset -22}
# $color artist: ${color #88aadd}${execi 15 ~/conkyshee.py --artist}
# $color track: ${color #88aadd}${execi 15 ~/conkyshee.py --title}${voffset 5}
Last edited by JerichoKru (2010-02-01 06:55:18)Maybe try:
double_buffer yes
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager -
When i double click the desktop icon Firefox to open it, nothing happens. I have to install the program from the setup file again. This happens everyday, it used to only happen maybe once every 2-3 months, now it's all the time. Any advice?
AaronPlease update to the current Firefox 25.0.1 release.
*Help > About Firefox
*https://support.mozilla.org/kb/update-firefox-latest-version.
*https://support.mozilla.org/kb/Updating+Firefox
Download and save the Firefox installer to the desktop and start the installation with a double-click on the desktop icon.
You can find the full version of the latest Firefox 25.0.1 release in all languages and for all Operating Systems here:
*http://www.mozilla.org/en-US/firefox/all.html
It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
*https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating -
Desktop Icons have vanished, have tried many solutions offered in forums with no results
I'm at a complete loss as to what to do after searching high and low for answers to this problem.
My desktop icons have mysteriously vanished as I switched it on last night. I had been using it with no issue earlier that day, but for some reason, switching it on last night, I was greeted with a completely clean desktop.
This has happened once before, so I figured simply rebooting the computer (like the last time this occurred) would bring back the icons. No such luck, even after restarting it or shutting it down, and reopening it 15 minutes later. When this problem last occurred, I think I was using Snow Leopard; I'm now running Mountain Lion (if this makes any difference).
I searched a few forums, and tried every solution listed in these topics with absolutely no success. List of things I've tried, as suggested by users on other forums (that seemed to work for people with similar problems):
Checked to see if the "Desktop" folder was renamed to something else, it wasn't;
Relaunched Finder several times
Restarted the computer, shut it down for hours and restarted
View>Clean up by/Sort by all tried, nothing happens
Changed the resolution several times, nothing happens
Quit iTunes, nothing happens
Verified the disk in Disk Utility, no problems (so repair disk was greyed out);
Verified the permissions, repaired the permissions successfully, nothing happened;
Checked Macintosh HD>Users>(username)>Desktop, nothing in the folder (0kb when I check Get Info);
Searched for and tried to remove via Terminal the following preferences: com.apple.finder.plist AND com.apple.FolderActions.plist but they are non-existant on my account OR guest account
Booted in safe mode, still no icons
Logged into guest account, no icons on administrator Desktop (I overrided permissions to see the desktop, and still no icons)..
Tried to "killall Finder" in Terminal, no response.
I did not recently:
download any new software, games, etc (with the exception of FluidApp, which was installed 3 weeks ago and frankly I don't see how it would affect my computer weeks later);
connect my MacBook to an external/additional monitor (have never done this, so icons can't be off-screen)
Additional info:
When in Finder, most functions in my View menu are greyed out. Available options: "Clean Up By", "Sort By", and "View Options". Selecting any of these do nothing.
I checked this article (http://support.apple.com/kb/TS1916) and my Computer Name actually DID contain an illegal character (a dash) so I removed it; however it did not correct my problem even after reboot/logging out and in/relaunching Finder. (I'm running Mountain Lion though, so not sure if this even applies, but it was the closest thing I could find).
Nothing but the contents of the desktop seem to have been compromised. I can open applications, install software, use any application, view/open/access files everywhere else on my computer.
I can save new files on my desktop and they don't disappear.
I can put files from other places in my computer on the desktop and they don't disappear.
I DID do a system update to the latest version of Mountain Lion AFTER encountering this problem, in hopes it would correct the problem somehow, but it did not.
I installed one application in hopes of figuring out a fix after the problem occurred (TinkerTool) but after playing with the options (and in the end, not changing anything) I still have the problem. The "Disable Desktop Features" thing was not checked. I checked it, relaunched finder, and what I put on the desktop disappeared, so I unchecked it and relaunched and they reappeared, but my old desktop did not.
It's seriously as if someone did a "Select All > Delete", and overpassed the Trash bin somehow (because it still has a few items I had put in there previously).
Does anyone have any other suggestions in how to retreive my lost desktop icons? I'm going crazy..If you have a backup, try restoring your Desktop folder from there.
You should have a Finder and a FolderActions .plist. Have you tried looking in your user library folder manually instead of using Terminal?
If you prefer to make your user library permanently visible, use the Terminal command found below.
http://osxdaily.com/2011/07/04/show-library-directory-in-mac-os-x-lion/
You might want to bookmark the command. I had to use it again after I installed 10.8.4. I have also been informed that if you drag the user library to Finder it will remain visible. -
How sad I lost the ability to view a days calender entries all at once in list format when I upgraded to IOS7 ?!?
In Calendar tap on the Search icon (magnifying glass).
You can also see them on the Notifications pulldown. -
Question
I have installed firefox 3.2.64. When i click on the desktop icon nothing happens. The windows task manager says mozilla firefox is running but I can't see it anywhere. What might the problem be?A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.com/kb/Server+not+found
*https://support.mozilla.com/kb/Firewalls
See also:
*http://kb.mozillazine.org/Browser_will_not_start_up -
Multiple Desktop Icons in Sidebar
Here's the setup:
I have my user profile setup on a secondary (non-booting) HD named "Macintosh HD". I hooked up and booted off of an old laptop in FW Target mode, who's HD also was named "Macintosh HD." Well this caused all sorts of probs with my profile going missing upon disconnecting the laptop and rebooting. Opened up terminal and looked in /Volumes, there was listed "Macintosh HD" and "Macintosh HD1," the latter being the one that held my profile. So I created a temp user and logged in with that name, deleted the "Macintosh HD" volume, which was basically empty, renamed the "Macintosh HD1" to "Macintosh HD" and pointed my user to the profile. Logged out and back in as myself and all my preferences and what not were back in place.
Here's the only problem that I haven't been able to resolve. When saving/opening files from an application, in the sidebar, there are multiple desktops, 3 to be exact. One has a generic folder icon, the other two have the desktop icon and both actually point to the true desktop.If I open up a Finder window, there is only one desktop icon, it's just a problem in the Open/Save dialog box. How can I get it back to one desktop in the sidebar?That works in a normal Finder window, but not in the Save/Open dialog within an application.
However, I deleted the sidebar.plist file within the Preferences folder, restarted and all is back to normal. -
Can't drag desktop icons & other problems
Hi.. I cannot drag my desktop icons nor items from a folder to DT. When this happened, I lost printing from my Lexmark E120N, my memory chips were listed as 68k and 28 k when they are 1 gig & 2 gig. That seems to have cleared up. I also cannot copy anything nor paste anything. When attempting to use Tech Tool 5, it opens, but is frozen. I ran it from the install disk & it said everything was fine! Any help will be greatly appreciated.... TIA, Jack PS: I repaired permissions also.
HI Jack,
You booted from your Apple install disk and the hard disk "*appears to be ok*? Did you check the S.M.A.R.T status? Here's how.
Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
Select your HDD (manufacturer ID) in the left panel.
Select First Aid in the Main panel.
(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
Click Repair Disk on the bottom right.
If DU reports disk does not need repairs quit DU and restart.
If DU reports errors Repair again and again until DU reports disk is repaired.
Also, run the Apple Hardware Test
If you can, make sure your important files are backed up.
Carolyn -
Alv using class In list format
Hi,
I am using a method set_table_for_first_display in class cl_gui_alv_grid to display ALV. but by default the output appears in grid format, I want to change the output in LIST format.
What can I do to change the output in list format.
Kind Regards,
Abhishek.try this.... this is an example code.... don't use set_table_for_first_display rather use CL_SALV_TABLE and execute the below code
*& Report ZAMIT_TEST
REPORT zamit_test MESSAGE-ID z_zzz_ca_messages.
* constants for icons
TYPE-POOLS: icon, col.
* type for internal table
TYPES: BEGIN OF x_sflight.
* selfld TYPE char1.
INCLUDE STRUCTURE sflight.
TYPES: seatsfree TYPE sflight-seatsocc,
usage TYPE n, " exception
icon_future TYPE icon-id, " icon for future / past
line_counter TYPE i, " line counter
it_colors TYPE lvc_t_scol, " internal tab for cell color info
END OF x_sflight.
* Internal table
DATA: i_sflight TYPE STANDARD TABLE OF x_sflight,
wa_sflight TYPE x_sflight,
wa_colors TYPE lvc_s_scol,
list_display TYPE sap_bool,
vref_cont TYPE REF TO cl_gui_custom_container,
vref_alv TYPE REF TO cl_salv_table, " ALV instance
oref_error TYPE REF TO cx_salv_error, " Error instance
l_text_alv_e TYPE string,
ok_code TYPE syucomm.
SELECT-OPTIONS: so_car FOR wa_sflight-carrid MEMORY ID car,
so_con FOR wa_sflight-connid.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK alv WITH FRAME TITLE text-alv.
PARAMETERS: pa_full RADIOBUTTON GROUP alvd DEFAULT 'X',
pa_cont RADIOBUTTON GROUP alvd,
pa_list RADIOBUTTON GROUP alvd.
SELECTION-SCREEN END OF BLOCK alv.
PARAMETERS: p_layout TYPE slis_vari.
* CLASS lcl_handler DEFINITION
CLASS lcl_handler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
on_added_function FOR EVENT added_function OF cl_salv_events_table
IMPORTING e_salv_function, " type salv_de_function
on_double_click FOR EVENT double_click OF cl_salv_events_table
IMPORTING row, " type salv_de_row = int4
on_link_click FOR EVENT link_click OF cl_salv_events_table
IMPORTING row " type salv_de_row = int4
column." type salv_de_column = char(30)
ENDCLASS. "lcl_handler definition
* CLASS lcl_handler IMPLEMENTATION
CLASS lcl_handler IMPLEMENTATION.
METHOD on_added_function.
DATA: l_oref_columns TYPE REF TO cl_salv_columns_table,
l_oref_column TYPE REF TO cl_salv_column_table,
l_oref_column1 TYPE REF TO cl_salv_column,
l_except1 TYPE REF TO cx_salv_not_found, "Exception
l_text1 TYPE string, "Exception msg
l_lvc_s_colo TYPE lvc_s_colo.
CASE e_salv_function.
WHEN 'REORDER'.
* get the COLUMNS object
l_oref_columns = vref_alv->get_columns( ).
* positions: (MANDT column + 3 key colums)
l_oref_columns->set_column_position( columnname = 'SEATSOCC'
position = 5 ).
l_oref_columns->set_column_position( columnname = 'SEATSOCC_B'
position = 6 ).
l_oref_columns->set_column_position( columnname = 'SEATSOCC_F'
position = 7 ).
* prepare color info
* column SEATSOCC
TRY.
CALL METHOD l_oref_columns->get_column
EXPORTING
columnname = 'SEATSOCC'
RECEIVING
value = l_oref_column1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
l_oref_column ?= l_oref_column1.
l_oref_column->set_color( value = l_lvc_s_colo ).
* column SEATSOCC_B
TRY.
CALL METHOD l_oref_columns->get_column
EXPORTING
columnname = 'SEATSOCC_B'
RECEIVING
value = l_oref_column1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
l_oref_column ?= l_oref_column1.
l_oref_column->set_color( value = l_lvc_s_colo ).
* column SEATSOCC_F
TRY.
CALL METHOD l_oref_columns->get_column
EXPORTING
columnname = 'SEATSOCC_F'
RECEIVING
value = l_oref_column1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
l_oref_column ?= l_oref_column1.
l_oref_column->set_color( value = l_lvc_s_colo ).
ENDCASE.
ENDMETHOD. "on_added_function
METHOD on_double_click.
DATA: message_text(70),
lc_seatsfree_e(10),
lc_seatsfree_b(10),
lc_seatsfree_f(10).
READ TABLE i_sflight INTO wa_sflight INDEX row.
CHECK sy-subrc EQ 0.
lc_seatsfree_e = wa_sflight-seatsmax - wa_sflight-seatsocc.
lc_seatsfree_b = wa_sflight-seatsmax_b - wa_sflight-seatsocc_b.
lc_seatsfree_f = wa_sflight-seatsmax_f - wa_sflight-seatsocc_f.
CONCATENATE 'FREE SEATS:'(frs) 'ECONOMY:'(eco) lc_seatsfree_e
'BUSINESS'(bus) lc_seatsfree_b 'FIRST'(fst) lc_seatsfree_f
INTO message_text SEPARATED BY space.
MESSAGE message_text TYPE 'I'.
ENDMETHOD. "on_double_click
METHOD on_link_click.
DATA: lc_carrname TYPE scarr-carrname,
lc_currcode TYPE scarr-currcode,
message_text(70).
READ TABLE i_sflight INTO wa_sflight INDEX row.
CHECK sy-subrc EQ 0.
CASE column.
WHEN 'CARRID'.
SELECT SINGLE carrname currcode
INTO (lc_carrname, lc_currcode)
FROM scarr
WHERE carrid = wa_sflight-carrid.
IF sy-subrc EQ 0.
CONCATENATE 'AIRLINE:'(air) wa_sflight-carrid
'NAME:'(nme) lc_carrname
'CURRENCY:' lc_currcode
INTO message_text
SEPARATED BY space.
MESSAGE message_text TYPE 'I'.
ENDIF.
WHEN 'SELFLD'.
MESSAGE i000 with 'Checkbox Clicked'.
ENDCASE.
ENDMETHOD. "on_link_click
ENDCLASS. "lcl_handler IMPLEMENTATION
START-OF-SELECTION.
* retrieve data into internal table
SELECT * FROM sflight
INTO CORRESPONDING FIELDS OF TABLE i_sflight
WHERE carrid IN so_car
AND connid IN so_con.
END-OF-SELECTION.
* fill additional data fields
LOOP AT i_sflight INTO wa_sflight.
* seats free
wa_sflight-seatsfree =
wa_sflight-seatsmax + wa_sflight-seatsmax_b
+ wa_sflight-seatsmax_f
- wa_sflight-seatsocc - wa_sflight-seatsocc_b
- wa_sflight-seatsocc_f.
* usage (exception light)
IF wa_sflight-seatsfree = 0.
wa_sflight-usage = '1'.
ELSEIF wa_sflight-seatsfree <= 20.
wa_sflight-usage = '2'.
ELSE.
wa_sflight-usage = '3'.
ENDIF.
* icon "in the future/not in the future"
IF wa_sflight-fldate > sy-datum.
wa_sflight-icon_future = icon_positive.
ELSE.
wa_sflight-icon_future = icon_negative.
ENDIF.
* cell colors
* single cell if planetype is 747-400
IF wa_sflight-planetype = '747-400'.
CLEAR wa_colors.
wa_colors-fname = 'PLANETYPE'.
wa_colors-color-col = col_positive.
wa_colors-color-int = 1.
APPEND wa_colors TO wa_sflight-it_colors.
ENDIF.
* whole line if seatsfree gt 200
IF wa_sflight-seatsfree >= 200.
CLEAR wa_colors.
wa_colors-color-col = col_heading.
wa_colors-color-int = 1.
APPEND wa_colors TO wa_sflight-it_colors.
ENDIF.
MODIFY i_sflight
FROM wa_sflight
TRANSPORTING
seatsfree
usage
icon_future
it_colors.
ENDLOOP.
CASE 'X'.
WHEN pa_full OR pa_list.
IF pa_list IS NOT INITIAL.
list_display = if_salv_c_bool_sap=>true.
ELSE.
list_display = if_salv_c_bool_sap=>false.
ENDIF.
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
list_display = list_display
IMPORTING
r_salv_table = vref_alv
CHANGING
t_table = i_sflight.
CATCH cx_salv_msg INTO oref_error.
l_text_alv_e = oref_error->get_text( ).
MESSAGE i000 WITH l_text_alv_e.
LEAVE LIST-PROCESSING.
ENDTRY.
* define settings
PERFORM define_settings USING vref_alv.
* display ALV
vref_alv->display( ).
WHEN pa_cont.
CALL SCREEN 100.
ENDCASE.
*& Form define_settings
* text
* -->P_ALV ALV object
FORM define_settings USING p_alv TYPE REF TO cl_salv_table.
PERFORM: sub_set_display USING p_alv,
sub_set_columns USING p_alv,
sub_set_sorts USING p_alv,
sub_set_aggregs USING p_alv,
sub_set_selections USING p_alv,
sub_set_layout USING p_alv,
sub_set_functions USING p_alv,
sub_set_events USING p_alv,
sub_set_header USING p_alv.
ENDFORM. " define_settings
*& Form sub_set_display
* set general display attributs
* -->P_ALV ALV object
FORM sub_set_display USING p_alv TYPE REF TO cl_salv_table.
DATA: lr_display TYPE REF TO cl_salv_display_settings,
l_title TYPE lvc_title.
* get display settings object
lr_display = p_alv->get_display_settings( ).
* set header
l_title = text-ttl.
lr_display->set_list_header( value = text-ttl ).
* set horizontal lines off
lr_display->set_horizontal_lines( value = ' ' ).
* set striped pattern
lr_display->set_striped_pattern( value = 'X' ).
ENDFORM. " sub_set_display
*& Form sub_set_columns
* text
* -->P_ALV text
FORM sub_set_columns USING p_alv TYPE REF TO cl_salv_table.
DATA: l_oref_columns TYPE REF TO cl_salv_columns_table,
l_oref_column TYPE REF TO cl_salv_column_table,
l_oref_column1 TYPE REF TO cl_salv_column,
l_except1 TYPE REF TO cx_salv_not_found, "Exception
l_except2 TYPE REF TO cx_salv_data_error, "Exception
l_text1 TYPE string, "Exception msg
l_scrtext_s TYPE scrtext_s,
l_scrtext_m TYPE scrtext_m,
l_scrtext_l TYPE scrtext_l,
l_lvc_tip TYPE lvc_tip, " for tooltip
l_pos TYPE i, " column position
l_lvc_s_colo TYPE lvc_s_colo. " column color
l_oref_columns = p_alv->get_columns( ). " get columns object
* set exception column
TRY.
CALL METHOD l_oref_columns->set_exception_column
EXPORTING
value = 'USAGE'.
CATCH cx_salv_data_error INTO l_except2.
l_text1 = l_except2->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
* set count column
TRY.
CALL METHOD l_oref_columns->set_count_column
EXPORTING
value = 'LINE_COUNTER'.
CATCH cx_salv_data_error INTO l_except2.
l_text1 = l_except2->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
* set cell colors / line colors column
TRY.
CALL METHOD l_oref_columns->set_color_column
EXPORTING
value = 'IT_COLORS'.
CATCH cx_salv_data_error INTO l_except2.
l_text1 = l_except2->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
* column ICON_FUTURE
TRY.
CALL METHOD l_oref_columns->get_column
EXPORTING
columnname = 'ICON_FUTURE'
RECEIVING
value = l_oref_column1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
l_oref_column ?= l_oref_column1.
l_oref_column->set_icon( ).
l_scrtext_s = text-fut.
l_oref_column->set_short_text( value = l_scrtext_s ).
l_oref_column->set_row( value = 2 ).
* Column SEATSFREE
TRY.
CALL METHOD l_oref_columns->get_column
EXPORTING
columnname = 'SEATSFREE'
RECEIVING
value = l_oref_column1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
l_oref_column ?= l_oref_column1.
* set color to COL_GROUP
l_lvc_s_colo-col = col_group.
l_lvc_s_colo-int = 1.
l_oref_column->set_color( value = l_lvc_s_colo ).
** Column SELFLD
* TRY.
* CALL METHOD l_oref_columns->get_column
* EXPORTING
* columnname = 'SELFLD'
* RECEIVING
* value = l_oref_column1.
* CATCH cx_salv_not_found INTO l_except1.
* l_text1 = l_except1->get_text( ).
* MESSAGE i000 WITH l_text1.
* LEAVE LIST-PROCESSING.
* ENDTRY.
* l_oref_column ?= l_oref_column1.
** set color to COL_GROUP
* if pa_list = 'X'.
* l_oref_column->set_cell_type( value =
* if_salv_c_cell_type=>CHECKBOX ).
* ELSEIF pa_full = 'X'.
* l_oref_column->set_cell_type( value =
* if_salv_c_cell_type=>CHECKBOX_HOTSPOT ).
* endif.
ENDFORM. "sub_set_columns
*& Form sub_set_sorts
* -->P_ALV text
FORM sub_set_sorts USING p_alv TYPE REF TO cl_salv_table.
DATA: l_oref_sorts TYPE REF TO cl_salv_sorts,
l_except1 TYPE REF TO cx_salv_not_found, "Exception
l_except2 TYPE REF TO cx_salv_existing, "Exception
l_except3 TYPE REF TO cx_salv_data_error, "Exception
l_text1 TYPE string. "Exception msg
* get the SORTS object
l_oref_sorts = p_alv->get_sorts( ).
* add sorts
TRY.
CALL METHOD l_oref_sorts->add_sort
EXPORTING
columnname = 'CARRID'
position = 1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_existing INTO l_except2.
l_text1 = l_except2->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_data_error INTO l_except3.
l_text1 = l_except3->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
TRY.
CALL METHOD l_oref_sorts->add_sort
EXPORTING
columnname = 'CONNID'
position = 2
subtotal = if_salv_c_bool_sap=>true.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_existing INTO l_except2.
l_text1 = l_except2->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_data_error INTO l_except3.
l_text1 = l_except3->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
TRY.
CALL METHOD l_oref_sorts->add_sort
EXPORTING
columnname = 'FLDATE'
position = 3.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_existing INTO l_except2.
l_text1 = l_except2->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_data_error INTO l_except3.
l_text1 = l_except3->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
ENDFORM. " sub_set_sorts
*& Form sub_set_aggregs
* -->P_ALV text
FORM sub_set_aggregs USING p_alv TYPE REF TO cl_salv_table.
DATA: l_oref_aggregs TYPE REF TO cl_salv_aggregations,
l_except1 TYPE REF TO cx_salv_data_error, "Exception
l_except2 TYPE REF TO cx_salv_not_found, "Exception
l_except3 TYPE REF TO cx_salv_existing, "Exception
l_text1 TYPE string. "Exception msg
l_oref_aggregs = p_alv->get_aggregations( ).
TRY.
CALL METHOD l_oref_aggregs->add_aggregation
EXPORTING
columnname = 'SEATSFREE'
aggregation = if_salv_c_aggregation=>total.
CATCH cx_salv_data_error INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_not_found INTO l_except2.
l_text1 = l_except2->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
CATCH cx_salv_existing INTO l_except3.
l_text1 = l_except3->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
ENDFORM. " sub_set_aggregs
*& Form sub_set_selections
* -->P_ALV text
FORM sub_set_selections USING p_alv TYPE REF TO cl_salv_table.
DATA: lr_selections TYPE REF TO cl_salv_selections.
* get the SELECTIONS object
lr_selections = p_alv->get_selections( ).
* set the selection mode
lr_selections->set_selection_mode(
value = if_salv_c_selection_mode=>cell ).
ENDFORM. " sub_set_selections
*& Form sub_set_layout
* -->P_ALV text
FORM sub_set_layout USING p_alv TYPE REF TO cl_salv_table.
DATA: lr_layout TYPE REF TO cl_salv_layout,
ls_key TYPE salv_s_layout_key.
* get the LAYOUT object
lr_layout = p_alv->get_layout( ).
* set the layout key
ls_key-report = sy-cprog.
lr_layout->set_key( value = ls_key ).
* set save restriction
* (restriction "none" is intended,
* so we may use the default)
lr_layout->set_save_restriction(
* VALUE = IF_SALV_C_LAYOUT=>RESTRICT_NONE
* allow setting a default layout
lr_layout->set_default( value = 'X' ).
* set initial layout
lr_layout->set_initial_layout( value = p_layout ).
ENDFORM. " sub_set_layout
*& Form sub_set_functions
* -->P_ALV text
FORM sub_set_functions USING p_alv TYPE REF TO cl_salv_table.
DATA: lr_functions TYPE REF TO cl_salv_functions_list,
l_except1 TYPE REF TO cx_salv_existing,
l_except2 TYPE REF TO cx_salv_wrong_call,
l_text1 TYPE string,
* help variables for method call ADD_FUNCTION
l_icon TYPE string,
l_text TYPE string,
l_tooltip TYPE string.
IF pa_full = 'X' or pa_list = 'X'.
p_alv->set_screen_status( pfstatus = 'SALV_TABLE_STANDARD'
report = sy-repid
set_functions = p_alv->c_functions_all ).
ENDIF.
* get the FUNCTIONS object
lr_functions = p_alv->get_functions( ).
* offer all generic functions
lr_functions->set_all( value = if_salv_c_bool_sap=>true ).
* subtract average
lr_functions->set_aggregation_average(
value = if_salv_c_bool_sap=>false ).
* subtract all export functions
lr_functions->set_group_export(
value = if_salv_c_bool_sap=>false ).
* enable exort to local file
lr_functions->set_export_localfile(
value = if_salv_c_bool_sap=>true ).
* subtract transfer to lotus
lr_functions->set_view_lotus(
value = if_salv_c_bool_sap=>false ).
* customer defined function:
* display occupied seats columns most left
* and highlight them
* IF pa_cont = 'X'.
* l_icon = icon_insert_row.
* l_text = text-tot.
* l_tooltip = text-ttt.
* TRY.
* CALL METHOD lr_functions->add_function
* EXPORTING
* name = 'REORDER'
* icon = l_icon
* text = l_text
* tooltip = l_tooltip
* position = if_salv_c_function_position=>right_of_salv_functions.
* CATCH cx_salv_existing INTO l_except1.
* l_text1 = l_except1->get_text( ).
* MESSAGE i000 WITH l_text1.
* LEAVE LIST-PROCESSING.
* CATCH cx_salv_wrong_call INTO l_except2.
* l_text1 = l_except2->get_text( ).
* MESSAGE i000 WITH l_text1.
* LEAVE LIST-PROCESSING.
* ENDTRY.
* ENDIF.
ENDFORM. " sub_set_functions
*& Form sub_set_events
* text
* -->P_ALV text
FORM sub_set_events USING p_alv TYPE REF TO cl_salv_table.
DATA: lr_event TYPE REF TO cl_salv_events_table.
* get the EVENT object
lr_event = p_alv->get_event( ).
SET HANDLER :
lcl_handler=>on_added_function FOR lr_event,
lcl_handler=>on_double_click FOR lr_event,
lcl_handler=>on_link_click FOR lr_event.
ENDFORM. " sub_set_events
*& Form sub_set_header
* -->P_ALV text
FORM sub_set_header
USING p_alv TYPE REF TO cl_salv_table.
DATA: lr_grid TYPE REF TO cl_salv_form_layout_grid.
* 1st step: create the grid object
CREATE OBJECT lr_grid.
* 2nd step: add some text items
lr_grid->create_header_information( row = 1 column = 1
text = 'Flight List Grp ##'(fll) ).
lr_grid->create_text( row = 2 column = 1
text = 'Please check utilization'(uti) ).
* 3rd step: declare grid as header of list
p_alv->set_top_of_list( value = lr_grid ).
ENDFORM. " sub_set_header
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SALV_TABLE_STANDARD'.
SET TITLEBAR 'T100'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module create_control OUTPUT
* text
MODULE create_control OUTPUT.
IF vref_cont IS NOT BOUND.
* create container control
* and link it to the dynpro
CREATE OBJECT vref_cont
EXPORTING
container_name = 'MY_CONTAINER'
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Error when creating the container object'.
ENDIF.
* create ALV and
* link it to the container control
TRY.
cl_salv_table=>factory(
EXPORTING
r_container = vref_cont
IMPORTING
r_salv_table = vref_alv
CHANGING
t_table = i_sflight ).
CATCH cx_salv_msg INTO oref_error.
l_text_alv_e = oref_error->get_text( ).
MESSAGE i000 WITH l_text_alv_e.
LEAVE LIST-PROCESSING.
ENDTRY.
* display ALV
vref_alv->display( ).
ENDIF.
ENDMODULE. " create_control OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module exit INPUT
* text
MODULE exit INPUT.
SET SCREEN 0.
ENDMODULE. " exit INPUT -
IPad Videos-List format?
Using iPad-2 with iOS 5.1.1. I have created playlists in iTunes for my home movies, and synced these playlists to iPad.
When Videos app is open on iPad, the movies appear as icons in grid view (alphabetical order).
I can't find a Playlist List format in Videos (such as is available in Music app). The video playlists do show up in Music app, but are grayed out since there are "zero songs".
The previous iOS 4 did have a List format for videos. Am I missing something here? If a person has a few hundred movies, that's a lot of scrolling through icons.If anyone from Apple reads this- why can't you give us the option of a list view?
Apple does NOT read this board. If want a change, you need to submit your displeasure via Feedback at:
http://www.apple.com/feedback/
I've already complained about this. But they'll need here this from multiple people to make a change. If not enough people complain, they assume no one cares, and list view (like lyrics) will dissappear forever. -
When I click on the Firefox desktop icon, I get a Bing search page. Nothing relating to Firefox is evident and the only way I can get out of the Bing search page is using Control/Alt/Delete. I can't access anything in Firefox at all.
A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
*http://kb.mozillazine.org/Browser_will_not_start_up
Can you start Firefox in Offline mode via the Profile Manager
*http://kb.mozillazine.org/Profile_Manager
If there is a problem with searching via the default about:home page then try to reset the search engine used on the about:home page.
Reset the <b>browser.startup.homepage_override.mstone</b> pref via the right-click context menu to the default on the <b>about:config</b> page and close and restart Firefox to restore the about:home page to its default.
*http://kb.mozillazine.org/about:config
#Open the <b>about:config</b> page via the location bar
#Type in the Filter bar: mstone
#Right-click the browser.startup.homepage_override.mstone line and select: Reset
#Close and restart Firefox
If this didn't help then delete the delete the chromeappsstore.sqlite file in the Firefox Profile Folder and repeat the above.
You can reset some preferences to the default with the SearchReset extension:
*https://addons.mozilla.org/firefox/addon/searchreset/
Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons). -
Is there a way to defile new list format?
I want to defile new list format like this:
First: Lab lab lab.
Second: Another Lab lab.
Third: Continueing the lab lab.
Or other like lists in different languages.I think you probably mean "define" rather than defile, which in English is often used interchangeably with rape in literature, but I think we can figure this out OK. I'm sure your English is far better than my skills in your native language.
Can you mock up a list the way you want it to appear on a page and take a screen capture? You can embed the image into a post using the camea icon above the forum editing area:
I'm not sure I understand what it is that you want to do, exactly, but I suspect the capability is already built into the lists features in ID.
Maybe you are looking for
-
If statement within a view is not working correctly ?
Hi all, maybe i am wrong but i think the if statement within a view is not working correctly. See code down below. I would like to use the Hallo World depending on the page attribute isFrame with or without all the neccessary html tags. Therefore i h
-
How to make the new drawing line on the old form?
I have been reading about Java about 2 months, and now I have to start my first project within this week. I still don't know how to do it!!! I have to get the info from the keyboard to draw a line on the old form of the original project. Please tell
-
Error in generating bit stream
hi, I am using xilinx 10.1 on linux 64 bit machine.. My problem is when I tried to generate the bit stream it gives me an error in system.log file stating bash -c "cd synthesis; ./synthesis.sh" xst -ifn system_xst.scr -intstyle silent Running XST syn
-
Transparant image printing with white backgroud in postscript file
Hi, I am new to Livecycle ES, It would be grateful if some one answer my question. I want to place signature image to the form. Dinamically the signature will be changes. and if i print the postscript file, the signature is printing with white backgr
-
What is Managing Catalog Content? Can anybody please explain about this in detail Regards NK