Last active 2 hours ago

  1. 5 hours ago
    Mon Nov 18 21:29:12 2019
    andrea posted in HTTPRequest.

    Or you can programmatically re-build your path from the queryParameters Map, for example, with the following code:

    request.queryParameters = ["page": 1]
    // create the new path string from queryParameters
    var path : String = "?"
    for (var key in request.queryParameters.keys()) {
    	var value = request.queryParameters[key]
    	// add "key=value&" to the path string for each query parameter
    	path += key + "=" + value + "&"
    // remove the last "&"
    path = path[0...-2]
    // update the request path
    request.path = path
  2. 6 days ago
    Tue Nov 12 21:27:55 2019
    andrea posted in HTTPRequest.

    Hi @ingurgite,
    if you programmatically create an HTTPRequest (or if you programmatically set a custom value for the path property) the queryParameters property is ignored. You should instead set the complete path in the initializer method or in the path property, for example:

    var url : String = ""
    var request = HTTPRequest(url)
    request.responseSerializerType = HTTPResponseSerializer.JSON
  3. last week
    Wed Nov 6 20:34:04 2019

    Hi @ingurgite,
    the `` invocation tries to open the Journal in the active container, the default window in this case. The default window should open the Journal window as a modal window but it fails if executed in the WillShow event because a window that is not already added to the window's hierarchy cannot open a modal window.

    A safer way to change the default window could be to use the loadContainer() method of the Application object, for example with the following code:

    var screen = "journal"
    if (screen == "journal")
    	console.log("HERE: opening journal")

    This command replaces the root window (default window) with the Journal window.

  4. 2 weeks ago
    Wed Oct 30 19:44:17 2019
    andrea posted in Tap on Scrollable Text.

    the Tap gesture can not be recognized if an internal gesture recognizer of the native TextView control is recognized before (for example, the tap gesture that put the TextView in the editing state).
    To change this behavior, you can add the code `return true;` in the `ShouldRecognizeSimultaneously(otherGesture: UIGestureRecognizer)` event of your TapGesture; in this way, your gesture can be recognized simultaneously with other gesture recognizers.

  5. 3 weeks ago
    Thu Oct 24 14:48:45 2019
    andrea posted in Single vs Double Tap.

    Hi @ingurgite,
    the `requireToFail` is not working correctly in our simulator if used for more than one gesture recognized, this bug will be fixed in the next release. It should work fine on a real iOS device.
    There could be a delay for the action to be invoked depending on the gesture recognizer added as `requireToFail` because the first gesture recognizer must wait for the other gesture to fail before changing to the recognized state.

  6. Wed Oct 23 21:02:20 2019
    andrea posted in Changing Button Image.

    Hi @ingurgite,
    you can programmatically change the image of a button for a specific state, for example:
    Button1.setImageForState(image1, ControlState.Normal)
    Button1.setImageForState(image2, ControlState.Highlighted)

    In this way, the `image1` is presented when the button is in the normal state and the `image2` is presented when the button is pressed.

  7. 5 weeks ago
    Mon Oct 14 13:41:55 2019
    andrea posted in openModal(), open() etc..

    Hi @ingurgite,
    The issue appeared because Apple changed the default modal presentation style on iOS 13 from fullscreen to automatic. We will update Creo to reflect this change. By the way, as a workaround, you can fix your project to the previous behavior by changing the value of that property for the presented Window to a different value and then back to the `Fullscreen` value: this will force your Window to use the Fullscreen mode instead of the default behavior.

  8. 2 months ago
    Fri Aug 30 13:38:04 2019
    andrea posted in Single vs Double Tap.

    Hi @ingurgite , the `requireToFail()` method is included in the newly released version and it is documented in the superclass documentation: UIGestureRecognizer

  9. 3 months ago
    Thu Aug 15 16:11:44 2019

    Hi @ingurgite,
    you could use a container View with the flex layout engine enabled and with the Auto Content Size property set to the Flex value. Then put three Label controls inside the container View, one for the title, one for the subtitle and one with the multiline option flagged for the long text; each one with flex enabled. The content size of the container View will automatically adjust with the space needed by the three inner controls. Just adjust the padding and the margin from the flex inspector of the controls.
    Please see the attached example:


  10. Fri Aug 9 20:12:23 2019
    andrea posted in move item.

    Hi @Luiz D'Aniello, thank you for reporting the issue, this behavior will be improved in the next version.

View more