Monday, December 22, 2008

Noen Som Selger Spectral Tiger Billig?

WinDev 14: Table column with container

The container columns allow greater freedom of display:


In the description field, just indicate in the relevant column, its type and define a main field. Useful for sorting on the column.

Then, do a Drag & Drop in fields (available in the second toolbar in the editor window) and place them in column-type container.
To feed the column container programmatically, use the index to add the item in the table:

code example:
i is an integer
FOR ANY CUSTOMER ClientName
i = TableAjouteLigne (myself, 0, "","")
TABLE_Table1.COL_Client [i]. LIB_NOM_Prénom = CLIENT.NomClient
TABLE_Table1.COL_Client [i]. LIB_Adresse1 = CLIENT.Adresse1
TABLE_Table1.COL_Client [i]. LIB_Adresse2 = CLIENT.Adresse2
TABLE_Table1.COL_Client [i]. LIB_CP_Ville CLIENT.CodePostal = + "" + END CLIENT.Ville


LIB_xx fields are placed in a column of type container.

Saturday, December 20, 2008

Can I Get Cubefield Of Itunes

Draw a path with the functions of Google Windev 14

It is possible to trace a path with the function gglrecupèreCarte. This requires using all the parameters of the function. Some difficulties may be encountered, see tips below on this article.

must determine the various parameters relating to the structure gglParamètreCarte. In addition it must be determined a marker if you use the auto zoom (the area does not work contrary to the error message displayed if no marker is set)
Here I used a table structure for the different boundary points. This allowed to use [] for filling the dynamic array. The
FOR ANY ELEMENT is very convenient to the route table.
Notice also the use of the Add function to add an item to a table. We could also use the TableauAjoute.

Here is the code used when clicking on the button:

point is a structure
lat is a real
longitude is a real
END

cléGoogle is a string = "VotreClé"
Path is a gglParamètreCarte
stUnPoint is a point
sCoord is gglCoordonnée
tabCoord is a 0 points table
Journey is a gglChemin
UnMarq is gglMarqueur

/ / set the stroke
Chemin.Chemin .. Color = iRougeFoncé
Chemin.Chemin .. Thickness = 2
Chemin.Chemin .. Opacity = 100

/ / Set table item
tabCoord = [[40.7078, -74.0021], [46.7140, -56.3968], [51.0165, -29.5967], [51.1067, -25.1016],
[49.8997, -6.1730] [48.9577,2.1423]]
/ / set points in the plot
FOR ANY MEMBER OF stUnPoint tabCoord
sCoord.Latitude = stUnPoint.lat
sCoord.Longitude = stUnPoint.longi
Adds (Chemin.Chemin .. Point sCoord)
END
Chemin.Format = gglJPG
/ / when you put a photo car must specify an area or a marker
/ / but not work with a zone, so we put a marker
/ / = 40.7078 chemin.Zone.Latitude
/ / chemin.zone.Longitude = -74.0021
/ / set the marker
UnMarq.Latitude = 40.7078
UnMarq.Longitude = -74.0021
UnMarq.Taille = gglPetit
Adds (Chemin.Marqueur, UnMarq)
IMG_Image1 GglRécupèreCarte = (cléGoogle, 40.7078,3.9483, gglZoomAuto, 600.400, gglHybride, Path)

CASE ERROR: Error
(ErreurInfo (errComplet))


TRICKS:
When Google does not return the card, there is no error message, nothing happens. So if when clicking on the button, you immediately hand over the application, then you have too many points.

Beware the number of track point. Indeed it is limited to 100 points, except that it decreases if you put markers. So if the map does not show is that you exceed the number of points. In my tests through 7 markers, I could put 70 points in that path.

Where error is the automatic handling of errors, needless to appeal directly to you 'll get an error. You must click on the link "If error per program" the pcode for the "case" error.


Warning:
If you use the syntax .. Chemin.Chemin Point, you can not use the Add function, it will write Chemin.Chemin.point. (Report to ST)

You can not use [] to fill a table structure if you declared your table: tab is a dynamic array of 0 gglCoordonnées (report to ST).
Because of that and in the code there is a declaration of a structure "Point".

Valkyrie Online Stream,

Using functions in google

To view a map in an image, it must use the functions and structure gglRecupèreCarte gglCoordonnée. In addition a useful function to find the geographic coordinates of a city or address: gglAdresseVersCoordonnées.

To use the google, you must register on the Google site to obtain the indispensable key for card recovery.

Here are few lines of code to achieve this result:
cléGoogle is a string = "Your key"
sCoord is gglCoordonnée

sCoord GglAdresseVersCoordonnées = (cléGoogle , SAI_Adresse)

IMG_Image1 GglRécupèreCarte = (cléGoogle, sCoord.Latitude, sCoord.Longitude, 12631408, gglHybride)

Tip: Beware the zoom, it goes from 0 to 19 to 19, however, if google can not provide this level of detail, nothing happens in your window. therefore indicate a normal level of detail.

Friday, May 16, 2008

Songs Dance Brother Marriage

WinDev 14 How to know the pixel size of a character string

TexteLargeur The function allows to know the pixel size of a string.
However, this function admits a first parameter input field. Moreover
must pay attention to the font used.

If for example you create the next font:

polPolice is a Police
polPolice PoliceCrée = ("Tahoma", 7, iNormal, iNoir)

must then associate the police box:

SAI_Saisie1 .. Police = polPolice

Then:

NbPixel TexteLargeur = (SAI_Saisie1, "My string")

Friday, January 18, 2008

Sony The Ht-ddw7500 Mu.te.ki System Price

WinDev 12 - Splitter a string into an array

Here is a procedure that puts the values of a string separated by a separator defined in a table:

/ / Summary: To fill an array of string from a string and a separator

/ / Syntax:

/ / [ =] Split (string is, is string [, boolean is [, is int]])

/ /

/ / Parameters:

/ / sChaineCara (string): String to splitter

/ / sSeparateur (string): The separator to use

/ / bTrié (boolean - default = 0): False (default) the table is not sorted, true to have a sorted array

/ / PType (integer - default = 1): Type of sorts: ttCroissant or ttDécroissant

/ / Return Value:

/ / Table: / / array containing the values of the string passed as parameter.

/ /

/ / Example:

/ / tabSP is a dynamic array of 0 chains

/ /

/ / tabSP = Split ("foo; abc; zoro; aab; tata ",";", True, ttCroissant)

PROCEDURE Split (s ChaineCara is a string, s Separateur is a string, b Sorted is a Boolean = False , PType is an integer = ttCroissant )

tab Split is a dynamic array of 0 chains

s is a string / / loop variable

FOR ANY CHAIN s OF s ChaineCara SEPARATED BY s Separateur

TableauAjouteLigne ( tab Split , s)

END

IF b Sorted THEN

IF PType = 0 THEN PType = ttCroissant

TableauTrie ( tab Split , PType )

END

RETURN tab Split

Example usage

tab SP is a dynamic array of 0 chain

tab SP = Split ( "foo, abc, zoo; aab; tata , ";" , True , ttCroissant )

Tuesday, January 15, 2008

Cabin Crew Gain Weight

WinDev 12 - Using MesParamètres

This instruction allows WLanguage pass as parameters to a procedure that is desired by the operator *.

Example:

PROCEDURE Calculation (pParam1, *)

* In this procedure represents the other possible parameters.

These optional parameters are accessible via the instruction MesParamètres.

The most interesting, with this statement is that it can access properties of an object. For example if you want to change the visibility of a column in a global procedure can Pass in the procedure the full name of the column:

Example code:

/ / code of a button
ModInterface ( Fen_Fenêtre1.Table1.Col_Colonne1, false)

PROCEDURE ModInterface (*)

MesParamètres [1] .. visible = MesParamètres [2]