How to create a reference point to be used in several images?
(newbie alert)
I have been experimenting with icon editing and am curious about "syncronizing" a normal
icon with its corresponding image in another file (its highlighted state, for instance).
I guess I can count pixels or stick a needle on my screen :-) but there has to be a more
professional method.
TIA,
-RFH
"Why would anyone scatter multi-state button graphics to separate files?"
Because I am trying to clone an existent toolbar, beginning with screenshots of the toolbar bottons (losely clipped by hand) in every state.
I need some sort of common reference (a corner, or something) to all images.
-Ramon
Similar Messages
-
How to create a USB recovery flash drive using recovery ISO image?
This “HowTo” provides information and instruction how to create a USB recovery media flash drive using the Toshiba recovery ISO image files or Toshiba Recovery discs (DVDs)
To create a USB recovery media flash drive, a USB flash drive with at least 16GB disk space is suggested (depends on the size of the ISO images or recovery discs).
Note: Since 2015 the ISO layout has changed and a different procedure must be processed to create the USB media. The new recovery media type can be identified by the names of the ISO files.
More info: http://aps2.toshiba-tro.de/kb0/HTD4103KB0000R01.htmYes, that article should apply to tablets.
But if your USB recovery drive does not get recognized then it must be corrupted - you should be able to format your disk and perhaps try to see if creating a Recovery device on other devices will make it recognizable on your tablet 2. -
How to create a reference user for B2C application?
Hello,
Can somebody please tell me how to create a reference user for B2C application?
I am trying to create a new account on the B2C site. It is giving me a null pointer exception. I have not created a reference user for B2C application.
Is there any documentation available to explain the steps required for this?
Thanks,
HarshaHi Harsha,
Please lookup http://help.sap.com/saphelp_crm40sr1/helpdata/en/be/511378ab1311d4b32b0050da4cccf0/frameset.htm for more information.
Cheers,
Ashok. -
How to create Support function for internal Class use
I have created a class to find the MoonRise and Set time. There is a java code available and I am translating it to Obj-C.
My problem is that for the calculation there are many support functions which is internally used. When I try to duplicate this as follows
-(double) frac:(double)x {
// returns the fractional part of x as used in minimoon and minisun
double a;
a = x - floor(x);
if (a < 0) a += 1;
return a;
-(void)minimoon:(double)t {
// takes t and returns the geocentric ra and dec in an array mooneq
// claimed good to 5' (angle) in ra and 1' in dec
// tallies with another approximate method and with ICE for a couple of dates
double L0, L, LS, F, D, H, S, N, DL, CB, L_moon, B_moon, V, W, X, Y, Z, RHO;
//var mooneq = new Array;
L0 = frac(0.606433 + 1336.855225 * t); // mean longitude of moon
At this point it gives an error implicit declaration of function frac,
My question is how to create such helper functions which are used internally, actually there are many such functions where functionA call B which calls C.
Thanks
RajHere's yet another approach (creating a private category):
@interface MYClass (Private)
- (double)frac:(double)x;
@end
@implementation MYClass
- (void)minimoon:(double)t {
// takes t and returns the geocentric ra and dec in an array mooneq
// claimed good to 5' (angle) in ra and 1' in dec
// tallies with another approximate method and with ICE for a couple of dates
double L0, L, LS, F, D, H, S, N, DL, CB, L_moon, B_moon, V, W, X, Y, Z, RHO;
//var mooneq = new Array;
L0 = [self frac:(0.606433 + 1336.855225 * t)]; // mean longitude of moon
- (double)frac:(double)x
// returns the fractional part of x as used in minimoon and minisun
double a;
a = x - floor(x);
if (a < 0) a += 1;
return a;
@end
<div class="jive-quote">rajkhand wrote:
I liked the first method as I don't have to change much of the java code.
I like it too. I use that very regularly (though I often use C++/Objective C++), since there is typically a lot of implementation in any class that does not need to be an ObjC instance method. This approach helps to reduce the object's interface to its essentials while keeping maintenance low.
I'll put all the helper functions above the implementation.
Is there a good book/web site where I can get such insight? I know C and Delphi/pascal
Well, Objective-C is a superset of C. If you're porting Java, you'll find protocols (ObjC) similar to interfaces (Java).
*Getting Started*
Apple's version of ObjC is different from others. For the language, Apple's docs are the standard (IMO):
Language:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf
If you are comfortable with C, this guide will help learning Objective-C quickly, though it has not been updated for (Apple's) Objective-C 2.0:
http://www.amazon.com/Objective-C-Pocket-Reference-Andrew-Duncan/dp/0596004230/r ef=sr14?ie=UTF8&s=books&qid=1245404236&sr=8-4
There are a few books on the ObjC2 language, but I have not read them (I just read Apple's docs for this).
OOP/Design:
http://developer.apple.com/documentation/Cocoa/Conceptual/OOPObjC/OOPObjC.pdf
Research
Good site for archives of tips, tricks, and even some hacks:
http://www.cocoadev.com/
Apple's lists (Cocoa, Xcode, ObjC, and specific technologies):
http://lists.apple.com/mailman/listinfo
This one sees the most traffic for Cocoa, and ObjC topics :
http://lists.apple.com/mailman/listinfo/cocoa-dev
Online archive for aforementioned Xcode and Cocoa list submissions:
http://www.cocoabuilder.com/
There are a lot of good sites/blogs out there as well.
Questions
Apple's lists (linked above) will typically yield good answers in a short time, you can also try here.
Thanks a million
Raj
You're Welcome,
J -
How to Create Test Sequence Document in HTML using command line
How to Create Test Sequence Document in HTML using command line
I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using C# .NetIf you aren't able to figure out how to call a C++ DLL in .net then there may be another option. Unfortunately I don't know how to do this off the top of my head and I don't have an example.
The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options. Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
Hope this helps,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~ -
How to create interface where you can view metadata of several databases
How to create interface where we can view metadata of several databases:
Oracle Apex should display metadata of this particular DB (later on we can include multiple DB’s)
a. Report should first display DB name
b. When clicked on DB name, should display 3 schemas
c. When clicked on 1 schema, should display tables – when clicked on each table,
should display various column names and its corresponding metadata.
(similarly for other schema’s also)
d. In short, it should be like a drill down report.
Help required for craeting like above.
Appreciate your help.I did something similar a while back. I had an application reading from multiple schema's for reporting purposes..IN that case atleast we just would build the selects using a function reurning SQL select, so that we could have an application item with the selected schema they wanted to use to build into the select returned...
For forms, that would be an interesting idea, don't know how you can dynamically change the table owner name, since it is a drop down control in development..
Thank you,
Tony Miller
Webster, TX
I cried because I did not have an office with a door until I met a man who had no cubicle.
-Dilbert
If this question is answered, please mark the thread as closed and assign points where earned.. -
How to Create PDF from Illustrator CS3 by using applescript?
Hi Guys,
Do some one knows how to create PDF from Illustrator CS3 by using apple script. If know, please give me the scripting.
HARIHave you tried File>Scripts>SaveDocsAsPDF? There should be a folder of sample scripts installed in your AICS3 folder and a folder of documentation which contains an Illustrator AppleScript Reference which has examples.
-
How to create a user in UME Database using web dynpro java custom application
Hi,
Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
Please suggest me.
Thanks and Regards,
AmitHi Amit,
Generated Documentation (Untitled)
This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
Hope it helps,
D. -
How to create a muli line text area using JavaFx
Hi all,
Since the preview SDK does not contain TextArea any more, I am wondering how to create a muli line text area using JavaFX. The behaviour of this text area/field should be somehow similar to JTextArea in Swing or StyledTextWidget in SWT.
Does JavaFX have any support for this? What would be a sensible approach to create such a widget?
Thanks for your suggestions,
br michaelThis is a pretty old thread (I know I came across this while searching for something similar recently), but I figured I'd throw this out there in case other people might find this useful. As I write this, JavaFX's latest version is 1.3... which may have added the needed functionality since the last post.
You can now create a multi-line text area using a TextBox and by specifying the nubmer of lines and setting the "multiline" value to true. It may not offer all of the same functionality as JTextArea, but it did the job for what I needed... newlines by pressing enter, scrollbar if text surpasses height, etc.
Here's a simple example:
Group {
content: [
TextBox {
text: "This is a multi-line textbox"
lines: 10 // <-- this may/may not be necessary depending on your situation. Default is 5.
multiline: true
}Edited by: loeschg on Jul 29, 2010 2:59 PM -
How to create a table in the file using java code.?
HI,
I should export the data from the view objects to a word document. I have done that but I should
display the data in the form of a table.
Kindly come up with the necessary information on how to create a table in the file using java.
Thanks,
PhaniHi, Thank you for responding to my query.
The below are the details of my code.
DCBindingContainer dcBindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding StudentDetailsContent =
(DCIteratorBinding)dcBindings.get("StudentView1Iterator");
OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
Row currentRow =
StudentDetailsContent.getRowSetIterator().first();
Object a[]= currentRow.getAttributeValues();
int i;
for(i=0 ;i<=a.length;i++){
w.write(a.toString());
w.write(" ");
w.flush();
I am usning this coding to achieve the task of exporting data to file.
I need to display this information in the table that is where I need help from you people.
Thanks, -
How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production?
How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
How do I create a cube in Dev using this file system backup.
we are on SQL Server 2008R2.
Thanks,How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
How do I create a cube in Dev using this file system backup.
we are on SQL Server 2008R2.
Thanks, -
How to create Billing Plan in sales order using Function module /BAPI
hi,
How to create Billing Plan in sales order using Function module /BAPI
i hv check few FM such
BILLING_SCHEDULE_READ
BILLING_SCHEDULE_GET_NUMBER
BILLING_SCHEDULE_SAVE
But unable to create billing plan for a sales order.....any other method to create???Hi,
Use this link.
Create sales order with billing plan via LSMW and BAPI BUS2032
BAPI or Function to update Billing Plan in Sales Order Items
Hope this will help you.
Regards,
Vijay -
How to create a partner and header record using CRM_ORDER_MAINTAIN?
Hi any one knows how to create a partner and header record using the function module CRM_ORDER_MAINTAIN??
I tried to create a record, but i only managed to create a header record and the partner record is not reflected in the transaction. Why is that so? is there any indicator that i need to include?
Thanks..
JenHi Jen!
I use this FM and it works perfectly.
Use this to create a partner:
gs_partner-ref_handle = '0000000001'.
gs_partner-ref_kind = 'A'.
gs_partner-ref_partner_handle = '0001'.
gs_partner-partner_fct = '00000001'.
gs_partner-partner_no = NO_PARTNER. "number of the partner, bu_partner
gs_partner-display_type = 'BP'.
gs_partner-no_type = 'BP'.
gs_partner-kind_of_entry = 'C'.
* ls_partner_l-ref_handle = '1'.
gs_partner-ref_guid = '00000000000000000000000000000000'.
APPEND gs_partner TO gT_partner .
ls_input_field-ref_kind = 'A'.
ls_input_field-logical_key = '0001'.
ls_input_field-objectname = 'PARTNER'.
ls_input_field-ref_handle = '0000000001'.
ls_input_field_names-fieldname = 'DISPLAY_TYPE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'KIND_OF_ENTRY'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'NO_TYPE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'PARTNER_FCT'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'PARTNER_NO'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE gt_input_fields.
clear ls_input_field-field_names[].
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
* it_schedlin_i = gt_schedlin_i_com
it_partner = gt_partner
* it_sales = gt_sales
* it_orgman = gt_orgman
* it_appointment = gt_appointment
* it_ordprp_i = gt_ordprp_i
* it_product_i = gt_product_i
* it_activity_i = gt_activity_i
* it_pridoc = gt_pridoc_com
CHANGING
ct_orderadm_h = gt_orderadm_h
* ct_orderadm_i = gt_orderadm_i
ct_input_fields = gt_input_fields.
* ct_doc_flow = gt_doc_flow
* cv_log_handle = gv_log_handle.
Hope it helps u,
Regards,
Mon. -
Unable to change reference point location while using the Transform Functions in Photoshop Elements 6.0.
Which operating system are you using?
In photoshop elements 6, as far as i know, you can only change the Reference Point Location for transforms using the small grid in the left hand corner of the tool options bar with Transform enabled. -
How to create an instance for RemoteSession without using create() method
How to create an instance for RemoteSession without using create() method?
What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?
Maybe you are looking for
-
My ipod will not let me access any apps using wifi, it indicates at the top of the screen that there is a strong wifi source but it refused to work on wifi apps. I think this is because if need an update but will not let me as it says an error occurr
-
MW : Sudden increase of number of queues in Realign
Hello Experts, I got a weird issue . two days ago I noticed a huge increase of the number of queues in realign in smohqueue. usualy I get something like 500 000 lines in 24hours and it suddenly went up to 4 millions, then 6 million during the day and
-
InDesign is crashing while opening a new document
Hi All, I want to open a new document from InDesigm CS2.When I open a new document from File->New->Document from menu ,InDesign is crashing and giving error report. It is not happening in the case when I open existing documnet from File->Open. Existi
-
I am trying to activate an old version of Creative Suites... I have currently changed my OS from WP to Windows 7. I have been refused. I paid for this and believe I should be able to use it without term limits. Why???????
-
Any updates on System i Forum @ TechEd in Las Vegas
To All, I was just wondering if anyone hears any news on the system i forum @ sapTech LV, per a June email sent by SteveBoucher. I will be attending Saptech, and would look forward to meeting up with the system i peers. Thank you. Elizabeth. "SteveB